From Now
Returns the difference between the current date and the specified date (absolute value).
【date】is the specified date, i.e., the specified date minus the current date, calculating the number of days (custom time unit) between the two dates, absolute value.
【units】is the time unit, i.e., the unit for calculating the difference between the specified date and the current date, such as calculating by "days" or converting to "years".
Time units include the following symbols, both formats can be used:
"Unit Description" → "Abbreviation"
Milliseconds: "milliseconds" → "ms"
Seconds: "seconds" → "s"
Minutes: "minutes" → "m"
Hours: "hours" → "h"
Days: "days" → "d"
Weeks: "weeks" → "w"
Months: "months" → "M"
Quarters: "quarters" → "Q"
Years: "years" → "y"
Click the link below to view all time units.