Time is constant after all. Yes it's from production.

  • 1
    The time is nil...
  • 2
    Idk whats going on with that rant 🤔
  • 0
    @STRINIX instead of converting a date object into a time object the function simply returns a constant value instead of converting it. Thus no matter what date object you pass it your get the same timestamp output.
  • 0
    @Oceas yes and its always 'empty' isnt it? (Talking about the zeros)
  • 1
    Not empty, 00:00:00 is midnight.

    Also function name indicates it will return a Time type, not String.

    + Date type doesn't contain any information about time ( contrary to DateTime type

    + name of parameter "dt" may be interpreted that it is DateTime after all(it isn't)
Add Comment