Integration Server 10.15 | Built-In Services Reference Guide | Date Folder | Notes on Date and Time Format
 
Notes on Date and Time Format
Year Format
If the pattern yy is used for the year, the date service uses a 50-year moving window to interpret the value of yy. The date service establishes the window by subtracting 49 years from the current year and adding 50 years to the current year. For example, if you are running the webMethods Integration Server in the year 2000, the moving window would be from 1951 to 2050. The date service interprets 2-digit years as falling into this window (for example, 12 would be 2012, 95 would be 1995).
Milliseconds Format
If you need milliseconds in the timestamp, it is recommended to use triple S (SSS) in the date pattern.
When you use services that accept date and time as inputs, it is recommended to use three digits for milliseconds. Otherwise, the services might show inconsistent results. If you specify SSS for milliseconds in the date pattern (yyyy-MM-dd'T'H:mm:ss.SSS'Z'), enter three digits in place of SSS. For example, 2021-07-08T1:20:20.001Z.