wwUtils::HumanizedDate
Displays a date in colloquial English text like just now
, 10 minutes ago
, 2 weeks ago
or 3 months ago
etc.
o.HumanizedDate(ltDate)
Parameters
ltDate
A date or time value that is converted to string.
Example
foxpro
foxpro
? HumanizedDate(DateTime()) && just now
? HumanizedDate(DATETIME() - 1000) && 16 minutes ago
? HumanizedDate(DATE()-90) && 3 months ago
? HumanizedDate(DATE()-365) && April 10, 2016
See also
Class wwUtils© West Wind Technologies, 2025 • Updated: 2025-03-12
Comment or report problem with topic