RevCMS - Help with news date

Status
Not open for further replies.

Occult

Member
Oct 14, 2011
72
5
This is a little bit long-winded, but I hope I can explain myself properly.

I'm having a little bit of difficulty with the dates in news articles with RevCMS.

I'm pretty sure everything works fine, I'm just not sure how to actually enter the date.

Problem
Because I don't know how the correct format to enter the date, I end up with this:

0875970522494d869a690a2e1d7abe09.png


And because I end up with that, the newslist doesn't work because the dates aren't caught by the sections:
bbcfc583b8c14fc38cf30466b3eae19c.png

This is what I mean by the sections:
for ($i = 0; $i < 6; $i++)
{
$sectionName = "";
$sectionCutoffMax = 0;
$sectionCutoffMin = 0;
switch ($i)
{
case 0:
$sectionName = 'Today';
$sectionCutoffMax = time();
$sectionCutoffMin = time() - 86400;
break;
case 1:
...

So the dates are supposed to be in some sort of integer form... but I'm not sure what the integers translate to.

Hope I was clear.

Appreciate any and all help!
 

Joe

Well-Known Member
Jun 10, 2012
4,090
1,918

917f96fdca1d4bf4b2179736d384e417.png

Although, if you have a housekeeping it should automatically add this for you.
 
Status
Not open for further replies.

Users who are viewing this thread

Top