Sarteck
06-20-2011, 11:32 AM
I've got a template that has this in it: <div class="blockrow">{vb:date user1info.dateline} -- ({vb:raw user1info.dateline})</div>
Feeding it some info, I get this:
Thu, 01 Jan 1970 00:00:00 +0000 -- (1238559327)
Which should be around midnight, April 1st, 2009 (give or take depending on where you live).
Clearly the raw info has the right timestamp, but the "date" formats it as if it were zero. Applying a specific format to it (I tried {vb:raw vboptions.dateformat}) yields no luck.
Am I tying to use it the wrong way?
Feeding it some info, I get this:
Thu, 01 Jan 1970 00:00:00 +0000 -- (1238559327)
Which should be around midnight, April 1st, 2009 (give or take depending on where you live).
Clearly the raw info has the right timestamp, but the "date" formats it as if it were zero. Applying a specific format to it (I tried {vb:raw vboptions.dateformat}) yields no luck.
Am I tying to use it the wrong way?