DateParse() [v1.04]

Author: Titan Last Modified: nonexistent


Convert any date format to YYYYMMDDHH24MISS.

DateParse(str)

For more details of the functions's parameters and return value, please see it's source code.

Remarks

For update's details and remarks related to the functions, please see the AutoHotkey Forum: http://www.autohotkey.com/forum/viewtopic.php?t=20405

License

The functions is an open source item under the Simplified BSD license. For details, please see titan-license.txt

Example

; #Include DateParse.ahk
#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%

time := "2:35 PM, 27 November, 2007"
MsgBox % """" . time . """`n`n    converted to`n`n""" . DateParse(time) . """"

; It will also work with any of the following formats:
; 4:55 am Feb 27, 2004
; 11:26 PM
; 1532
; 19/2/05
; 2007-06-26T14:09:12Z