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:
And because I end up with that, the newslist doesn't work because the dates aren't caught by the sections:
This is what I mean by the sections:
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!
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:
And because I end up with that, the newslist doesn't work because the dates aren't caught by the sections:
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!