Date Format in Fusion
How do i format this date /Date(1675832400000-0500)/ in Fusion?
How do i format this date /Date(1675832400000-0500)/ in Fusion?
Richard is correct in that the 0500 represents time zone offset.
In Make, formerly Integromat (what Fusion is based on), you can use the parseDate function to parse a timestamp with a timezone offset. The parseDate function takes three arguments: text, format, and timezone. The first argument is the text value representing the date, the second argument is the format of the date, and the third argument is an optional timezone.
Here’s an example:
parseDate("1675832400000-0500"; "xZ"; "UTC")
This will parse the timestamp “1675832400000-0500” using the format “xZ” (where “x” represents an epoch timestamp in milliseconds and “Z” represents a timezone offset) and return a Date value in UTC.
More HERE
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.