stringToTime
stringToTime(t_time) =>x_time
Description
Given a date and time string, returns an integer time value representation. The time argument must be in the format as returned by the timeToString function, such as: June 28 16:57:06 2022.
All time conversion functions assume local time, not GMT time.
Arguments
|
String indicating a time and date in this format: " |
Value Returned
Examples
fileTimeModified( "~/.cshrc" )
=> 793561559
timeToString(793561559)
=> "June 23 09:45:59 2022"
stringToTime("June 23 09:45:59 2022")
=> 793561559
Related Topics
Return to top