Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to change the "DATE" format
#1
Function Function1
Code:
Copy      Help
;I am trying to convert this format to "yyyy-MM-dd tt hh: mm: ss".
DATE t_now="2/1/2017 7:54:06 PM"


;But is it possible to keep the "DATE" command without using the "time" command?
str date_now.time(t_now "yyyy-MM-dd" "tt hh:mm:ss")
out date_now
#2
Not possible, because DATE does not contain a string.


Forum Jump:


Users browsing this thread: 1 Guest(s)