Aller au contenu principal

Timeformat

This reference explains how to format the timeFormat parameter in the logging section of the aqilink, as well as the documentPathScript parameter for Hyland Nuxeo to override the document root path with an inline script.

Reference Time Layout
Mon Jan 2 15:04:05 MST 2006

Formatting the current date with the layout above returns: Tue Sep 2 15:24:48 UTC 2025

Below is a reference of all available layouts to be used:

Required Part of DateUse LayoutLayout results based on current date
Year2006 or
06
Layout 2006 returns 2025
Layout 06 returns 25
MonthJan or
January or
01 or
1
Jan: Sep
January: September
01: 09
1: 9
Day of the weekMon or
Monday
Mon: Tue
Monday: Tuesday
Day of the month2 (without padding) or
_2 (with leading space) or
02 (with leading zero)
2: 2
_2: 2
02: 02
Day of the year__2 (two leading digits) or
002 (with leading zeros)
__2: 245
245
Hour15 (24-h format) or
3 (12-h format without leading zero) or
03 (with leading zero)
15: 15
3: 3
03:
Minute4 (without leading zero) or
04 (with leading zero)
4: 24
04: 24
Second5 (without leading zero) or
05 (with leading zero)
5: 48
05: 48
AM/PM markPMPM: PM

Examples

Format Date

  • Layout for SAP dates used along with the Format() function: Format('20060102', now) returns: 20250902