Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

DateField: How to access <xyz> time ago value?


Go to End


2 Posts   1118 Views

Avatar
biapar

Forum Moderator, 435 Posts

19 October 2010 at 1:02am

Hi,

How read time ago value from DateField?

Thx

Avatar
Willr

Forum Moderator, 5523 Posts

19 October 2010 at 4:26pm

$Date.Ago ?? or if you're in PHP $this->dbObject('Date')->Ago()