Tech Tip: Time command can quickly convert UTC time to local time
PRODUCT: 4D | VERSION: 20 | PLATFORM: Mac & Win
Published On: September 25, 2023
When storing records with the command Timestamp, there may be a preference to display the local time on a form. Instead of doing manually time conversions, you can simply use Time to automatically convert UTC to local time when passing the timestamp as its argument.
$timestamp:=Timestamp $time:=Time($timestamp) |