SetCulture date and number format Last updated: 19. Oct 2026
Use the setCulture function to format dates and numbers according to a specific culture.
setCulture(code)
Code is either culture LCID number or Name according to Microsoft standard.
See complete list:
https://docs.microsoft.com/en-us/openspecs/office_standards/ms-oe376/6c085406-a698-4e12-9d4d-c3b0ee3dbc4a
Example setting Norwegian formatting:
#docly.setCulture(1044)#