Date manipulation: Difference between revisions
m
→{{header|AutoHotkey}}
Line 23:
; convert am/pm to 24h format
$h += ($xm = "am") ? 0 : 12
; knitting YYYYMMDDHH24MI format
Line 49:
;---------------------------------------------------------------------------
Get_MonthNr(
;---------------------------------------------------------------------------
If (
Result := "01"
Else If (
Result := "02"
Else If (
Result := "03"
Else If (
Result := "04"
Else If (
Result := "05"
Else If (
Result := "06"
Else If (
Result := "07"
Else If (
Result := "08"
Else If (
Result := "09"
Else If (
Result := "10"
Else If (
Result := "11"
Else If (
Result := "12"
Return, Result
|