Jump to content

[SOLVED] reformatting a date ("YYYY-MM-DD" to "Month D")


ultrus

Recommended Posts

My coffee has not set in yet, so please pardon the silly question:

 

I'm getting dates from a database that is in the format of "YYYY-MM-DD". Is there a simple way of converting this to "Month D", or do I need to write a more lengthy function for this making use of substrings etc.? (If more lengthy, no need to post code. I can get it figured out.)

 

Thanks much!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.