作者: Titan 最近更新时间: nonexistent
Convert any date format to YYYYMMDDHH24MISS.
DateParse(str)
关于函数的参数和返回值, 请参阅其源码.
关于此函数(集)的更新细节和注意事项, 请参见 AutoHotkey 论坛: http://www.autohotkey.com/forum/viewtopic.php?t=20405
此函数(集)是基于 Simplified BSD 许可的开源项目. 想了解许可详情, 请参见 titan-license.txt
; #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