Microsoft
Software
Hardware
Network
Question : converting a long to a varchar
Hi,
I have what I believe is a gregorian or unix date coming through from my database.
I want to convert it to a long but am not a mysql developer.....
Can someone one tell me how I would convert myfield from a long to a varchar in mysql?
Thanks
Answer : converting a long to a varchar
please check out your options:
http://dev.mysql.com/doc/r
efman/5.1/
en/date-an
d-time-
fun
ctions.htm
l
likely, the FROM_UNIXTIME():
http://dev.mysql.com/doc/r
efman/5.1/
en/date-an
d-time-
fun
ctions.htm
l#function
_from-unix
time
then, DATE_FORMAT:
http://dev.mysql.com/doc/r
efman/5.1/
en/date-an
d-time-
fun
ctions.htm
l#function
_date-form
at
Random Solutions
Roaming Profiles in Windows 7 Pro and SBS 2008
Intel Sata RAID controller on RHEL 4 problem
Rejected emails that were not really sent
Windows XP does not see other computers on the workgroup
How to read a CSV using Windows Command Line
Get earliest and latest dates in a Listview
Inserting another drawing
How do I change the style.css with Javascript?
Group Policy - domain controllers
HTTP Error 404.3 on IIS 7.0