Date difference calculation returning strange results in google sheets

Welcome to the Make community!

You’re close, but first you have to PARSE date before you can FORMAT date.

This is because the JSON contains a string containing a formatted/readable date, but not an actual date object.

According to the Tokens you can use to parse a date variable, you can use YYYY-MM-DDTHH:mm:ss.SSSZ.

e.g.: {{ parseDate(1.date; "YYYY-MM-DDTHH:mm:ss.SSSZ") }}

Output

Screenshot_2024-07-06_220727

For more information, see Date Formats in the Help Center or the links below.

Here are some useful links and guides you can use to learn more on how to use the Make platform, apps, and app modules. I found these useful when I was learning Make, and hope they might benefit you too —

General

Help Center Basics

Articles & Videos

samliewrequest private consultation

Join the unofficial Make Discord server to chat with other makers!

2 Likes