How to change Date Format from YYYY-MM-DD to DD/MM/YYYY on Portal?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2025 10:14 AM
How can I change the date variable format from YYYY-MM-DD to DD/MM/YYYY?
Thanks
dgarad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2025 11:16 AM
The system’s default date format is controlled by the glide.sys.date_format property, which is set to YYYY-MM-DD by default. Changing this property globally could impact other parts of the platform, so it’s not recommended for isolated use cases.
Additionally, it’s important to note that a client script cannot set a date variable using a different format (e.g., DD/MM/YYYY), as the system will not recognize it as a valid date input.
Recommended approach:
Create a custom string variable to hold the formatted date (DD/MM/YYYY). Then, use a client script to convert the original date and populate this string field for display purposes only.