[eluser]Zeeshan Rasool[/eluser]
[quote author="Gwarrior" date="1258022139"]Can someone break down how I decide if a blog post is new (say if it's a day or less old).
Can't find any guides anywhere. Thanks![/quote]
As Ben said, he is right in that case but you may use some thing like that:
Let say, You want to keep your latest posts some where , so you can use
Code:
YourDate >= DATE_SUB(CURDATE(), INTERVAL 1 DAY)
How ever if you are showing all posts and you need to just pin point those posts who are new then you have to put a check that will find those posts.
Hope you got it !
mirk: