|
|
|
Logtext - ISO 8601 Date/Time Format |
|
Home -
Download -
Documentation -
Forum -
Bug Report -
Contact -
License Agreement -
External Links |
|
Brief introduction to the date/time notation according to ISO 8601 within Logtext Logtext uses the ISO 8601 date/time format. In short, this means that it uses the form YYYY-MM-DD hh:mm:ss.mis as a time stamp for logged events. 'YYYY' is the year in a 4 digit notation, 'MM' stands for the month, 'DD' means the day of the month, 'hh' is the hour within a 24-hour rotation, 'mm' shows the minute, 'ss' refers to the second, and 'mis' counts the fractions of a second in milliseconds. Although the format 'YYYY-MM-DD hh:mm:ss.mis' is the default Logtext provides a parameter to replace the space between date and time with the capital letter 'T'. It goes without saying that the fraction of a second can be disabled as well. YYYY-MM-DDThh:mm:ss For a daily log file rotation it uses the format AppYYYY-MM-DD within file names. 'App' is the name of the application, i.e. a string specified by the user/caller. 'App' can also be an empty string. This date format scheme carries on for monthly and yearly rotation accordingly. Monthly: AppYYYY-MM Yearly: AppYYYY If a weekly rotation is used, then it names the log files to AppYYYY-Www to pinpoint the calendar week 'ww'. The date 2006-W14 would refer to calendar week 14 in the year 2006. Note that 'W' is not a placeholder but placed in the date format when it comes to represent a calendar week. Direct link library (DLL) logtext.dll - Documentation Command line utility (executable) logtext.exe - Documentation External links ISO 8601 at Wikipedia ISO 8601 at W3C |
|
Home -
Download -
Documentation -
Forum -
Bug Report -
Contact -
License Agreement -
External Links |
|
(C) 2007 Thomas Belmer |
|
|