Nico Knoll Posted May 3, 2013 Posted May 3, 2013 Hi, how do I get the timestamp of a datetime field for using in the frontend? I thought about $page->datetime->timestamp(); Greets, Nico
Soma Posted May 3, 2013 Posted May 3, 2013 Maybe like this? $ts = $page->getUnformatted("datefield"); 3
diogo Posted May 3, 2013 Posted May 3, 2013 hm? I think simply with $page->datetime edit: just define output to none
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now