|
إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...
انضم الينا |
#1
| ||
| ||
I am using a cold fusion cfquery to get data from my vB database. One of the fields I am trying to get is a date field* and as you know they're unix datetimes. I am using this and it works great: SELECT stuff* date_format(from_unixtime(vB36_user.joindate)*'%M %d %Y') as joindate FROM vB36_user The output looks like this: January 1 2003. What I want is January 1* 2003. How can I get the comma? If I use '%M %d* %Y'* it puts the year into a new column. I could format it the cold fusion page* but that's not how I'm using it* I build a script to download a csv of the data. Thanks __DEFINE_LIKE_SHARE__ |
![]() |
مواقع النشر (المفضلة) |
أدوات الموضوع | |
انواع عرض الموضوع | |
| |
![]() | ||||
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
CMS When Posting Article at between 2400 and 2459 date sets to 1970/Default post date now | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 01-27-2010 11:20 PM |
mySQL Date format | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 12-13-2009 10:50 PM |
mySQL Date format | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 12-13-2009 10:40 PM |
how to change date of album created and date of picture uploaded? | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 11-12-2009 10:10 PM |
vBulletin date/time function (PHP/MySQL) | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 06-02-2009 09:20 PM |