The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




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


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)