Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Check whether the date is today
dzchimp Offline
Junior Member
**
Posts: 5
Joined: Nov 2011
Post: #1
Check whether the date is today
I need to use the plugin to check if the date is today. If it is I will output:

Posted Today at $time

Else,

Posted on $date at $time

Could anyone help with the syntax?
11-18-2011 11:48 PM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #2
RE: Check whether the date is today
I think my_date function format the date like that (by default)?

11-19-2011 03:54 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: