Is there a tag to take a date string like 1319966340 and return the date and time? Or what’s an alternative?
Best wishes
Lee
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
October 31, 2011 5:49pm
Subscribe [3]#1 / Oct 31, 2011 5:49pm
Is there a tag to take a date string like 1319966340 and return the date and time? Or what’s an alternative?
Best wishes
Lee
#2 / Oct 31, 2011 6:28pm
I don’t believe this is done out of the box, but these look promising:
http://devot-ee.com/add-ons/apstylee
http://devot-ee.com/add-ons/wb-relative-date
#3 / Oct 31, 2011 6:59pm
Thanks for the reply and taking the time to look up the add-ons. I missed the both when I searched…
#4 / Nov 01, 2011 1:57pm
Thanks for the assist, dstechroom.
Lee, are we talking about a custom field, or what exactly?
#5 / Nov 01, 2011 2:17pm
Hi Sue, I was using the query module and it was out putting unix date stamps, but I found you could yo can use the format= parameter in a tag such as last_entry_date and it would get formatted. Thanks for checking up on me 😊
#6 / Nov 03, 2011 2:49pm
Yup, you sure can. Glad you were able to figure it out. Feel free to start a new thread if you have any more questions.