@parsedate() Function |
![]() ![]() ![]() |
@parsedate() function is used to parse the formatted date/time existing in the given string to obtain a number in milliseconds. Syntax: @parsedate(date/time string, format-pattern) date/time string The string that contains a formatted date/time format-pattern The pattern that guides the parsing operation. See Date/Time format symbols.
Examples: @parsedate('2006-11-22 12:30' ,'yyyy-MM-dd kk:mm') @set(v:time, parsedate('11.12.2006' ,'dd.MM.yyyy') )
See @fmtdate(), @incrdate() |