aleung
9 years agoContributor III
How to obtain difference btw 2 timestamp?
Any idea how to obtain seconds, minutes, or hours between 2 timestamp?
- 9 years ago
In the above example just dont use the quotes, instead send as JSON object!! Otherwise you will get the warning from the platform at runtime.
Date.now().toLocaleDateString({“timeZone”:“PST”, “format”:“yyyy-MM-dd”})