Time format used is always "%Y-%m-%d %H:%M:%S" for time or "%Y-%m-%d" for date
1 2 | embr.difftime(date1, date2, timeFormat = "%Y-%m-%d %H:%M:%S",
units = "secs")
|
date1 |
/date-time or date objects. |
date2 |
/date-time or date objects. |
timeFormat |
format of both dates or times |
timeUnits |
units |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.