Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unix timestamp to month Problem

Status
Not open for further replies.

wildmurphy

Programmer
Apr 2, 2003
1
GB
Hi all,

Im having trouble using mysql to select a unix timestamp from a database and return a month as the field.....

SELECT hdr.incident_id as Incident_ID , hdr.incident_date as Incident_Date .....

needing to get the hdr.incident_date which is a unix timestamp to return Incident_date as just the month in the word format ie december.......

Argh!! PLease help me :)

 
select monthname(Name_Of_the_unixtimestamp) from table


Bye


Qatqat The reason why my girlfriend can read my thoughts is because mine are properly written! (G.Lepore)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top