l2_report_time_formats
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
l2_report_time_formats [2019/02/22 15:39] – emozolyak | l2_report_time_formats [2022/01/15 06:34] (current) – ↷ Links adapted because of a move operation 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Time format modifiers used in Level2 report builder ====== | ====== Time format modifiers used in Level2 report builder ====== | ||
- | When you place cells with time values in the report you need to specify format | + | When you place cells with time values in the report you need to specify format |
- | {{ :: | + | Then the special ' |
- | Please refer to the below tables: | + | |
+ | E.g. in //h:m:s// string for duration h, m and s charachters will be replaced with the duration " | ||
+ | |||
+ | {{ network: | ||
+ | Please refer to the below tables | ||
+ | |||
+ | ===== Time ===== | ||
+ | |||
+ | ==== Locale aware formats ==== | ||
- | ===== Locale aware formats ===== | ||
^Input ^Example ^Description^ | ^Input ^Example ^Description^ | ||
Line 15: | Line 22: | ||
|LTS |08: | |LTS |08: | ||
- | ===== Hour, minute, second tokens | + | ==== Year, month, and day tokens ===== |
+ | |||
+ | ^Input ^Example ^Description^ | ||
+ | |YYYY |2014 |4 or 2 digit year| | ||
+ | |YY |14 |2 digit year| | ||
+ | |Y |-25 |Year with any number of digits and sign| | ||
+ | |Q |1..4 |Quarter of year. Sets month to first month in quarter.| | ||
+ | |M MM |1..12 Month number| | ||
+ | |MMM MMMM |Jan..December |Month name in locale set | | ||
+ | |D DD 1..31 Day of month| | ||
+ | |Do |1st..31st |Day of month with ordinal| | ||
+ | |DDD DDDD |1..365 |Day of year| | ||
+ | |X |1410715640.579 |Unix timestamp| | ||
+ | |x |1410715640579 |Unix ms timestamp| | ||
+ | ==== Hour, minute, second tokens ==== | ||
^Input ^Example ^Description^ | ^Input ^Example ^Description^ | ||
Line 27: | Line 48: | ||
|Z ZZ |+12: | |Z ZZ |+12: | ||
+ | ===== Time duration formatting ====== | ||
+ | |||
+ | The template string is parsed for moment token characters, which are replaced with the duration' | ||
+ | < | ||
+ | years: | ||
+ | months: | ||
+ | weeks: | ||
+ | days: D or d | ||
+ | hours: | ||
+ | minutes: m | ||
+ | seconds: s | ||
+ | ms: S | ||
+ | </ | ||
+ | |||
+ | Escape token characters within the template string using square brackets. | ||
+ | |||
+ | E.g. | ||
+ | < |
l2_report_time_formats.1550849980.txt.gz · Last modified: 2019/02/22 15:39 by emozolyak