Reputation
Top tag
Next privilege 125 Rep.
Vote down
Badges
3
Impact
~1k people reached

  • 0 posts edited
  • 0 helpful flags
  • 0 votes cast
Jul
23
comment Formatting a date/time returned from a custom $wpdb query
Awesome, thanks Milo - worked perfectly!
Jul
23
comment Formatting a date/time returned from a custom $wpdb query
Thanks Milo! I'll give that a try; even though it may solve the problem for this post, I'm displaying other statistics on the page which use a more complex query (so I can't just roll back to WP_Query for them) - so I'd still love to know how to format the date/time using $wpdb. Thanks also for the <?= tip versus <?php - is that just a style thing, or is it convention? The shorthand <?= seems to work ok...