Jump to content

format a date


9911782

Recommended Posts

Hi All

I need to format 2006/07(2006/2007, 2007/2008)field in my database. Do I need to use the year datatype? The problem is that, I have a list of objectives that will run for those 2 specific years. I am really out...I have use the varchar(8), but Im so sure that, Its not right.

And How do I return only a year in the above mentioned date?
Please help me.
thank you ???
Link to comment
https://forums.phpfreaks.com/topic/17722-format-a-date/
Share on other sites

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.