![]() Multi-character time marker, such as AM or PM (depends on locale) Single character time marker, such as A or P (depends on locale) Hours with leading zero 24-hour format (00 – 23) Hours without leading zero 24-hour format (0 – 23) Hours with leading zero 12-hour format (01 – 12) Hours without leading zero 12-hour format (1 – 12) Period/era string for the current user's locale (blank if none) Year without century, with leading zero (00 – 99) Year without century, without leading zero (0 – 99) Jan) in the current user's languageįull month name (e.g. Monday) in the current user's languageĪbbreviated month name (e.g. Mon) in the current user's languageįull name for the day of the week (e.g. In the following example, note that M must be capitalized: M/d/yyyy h:mm tt Date Formats (case sensitive) Formatĭay of the month without leading zero (1 – 31)ĭay of the month with leading zero (01 – 31)Ībbreviated name for the day of the week (e.g. Otherwise, specify one or more of the date-time formats below, along with any literal spaces and punctuation in between (commas do not need to be escaped they can be used normally). For example: 4:55 PM Saturday, November 27, 2004 If omitted, it defaults to the time followed by the long date, both of which will be formatted according to the current user's locale. Although only years between 16 are supported, a formatted time can still be produced for earlier years as long as the time portion is valid. If the date and/or time portion of the timestamp is invalid - such as February 29th of a non-leap year - the date and/or time will be omitted from OutputVar. ![]() ![]() Otherwise, specify all or the leading part of a timestamp in the YYYYMMDDHH24MISS format. Leave this parameter blank to use the current local date and time. The name of the variable in which to store the result. FormatTime, OutputVar, YYYYMMDDHH24MISS, Format Parameters OutputVar Transforms a YYYYMMDDHH24MISS timestamp into the specified date/time format. FormatTime - Syntax & Usage | AutoHotkey FormatTime ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |