|
%fmtdate() Function |
|
|
%fmtdate() function is used to format the given date data. Syntax: %fmtdate(date/time, format-template) date/time The date/time data as Number. The now() function that returns the current time can be used for this parameter. format-template The template to format the date/time. See Date /Time Formating Specifiers
Examples: %fmtdate(now(),'yyyy-mm-dd hh:nn') %echo('Time : ' + fmtdate(now(),'hh:nn:zzz') )
See %incrdate() |