... and applying the method .toString("dd/MM/yyyy") is dependent on the settings. But making a date into a SQL format or from largest denominator to smallest in "yyyy-MM-dd" will usually handle the date better. ...
... following:
{
"auth": {
"secret": {
"word":"can_you_keep_a_secret",
"fact":"Elephants are the world's largest land animal",
"key": "aaabbbbccccddddeeeeffff11112222"
}
}
// using
m_NestedRequest ...
... as parameter a SQL date (or date format that strtotime() can convert) and outputs the largest unit (for example "1 year" not "1 year 2 months 3 days, etc...").
function getTimeAgo($p_Date) {
...
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies. Read more about our Privacy Policy.