I’m using the
$commentsarray to loop through each comment (simply because it gives me more flexibility than the
So to echo the current time and date per comment I have to use this (as far as I know):
How do I change the format of the time and date output. Currently is this 2009-05-14 21:44:46, and I want this Thursday 14th May, 2009, 9:44pm
('l jS F, Y, g:ia')
Would I have to change some hook(s) or core code?
- The topic ‘Changing comment date format when looping $comments array’ is closed to new replies.