| Index
» Projects
» phpMyEdit
» Forum
» Date format |
 |
tyty
Joined: 01 Jul 2005
Posts: 1
Posted: 2005-07-01 14:22
Back to top
Reply with quote
|
I need to see date format "dd-mm-yyyy" and write "yyyy-mm-dd" in Mysql.
My sites:
www.jewelrylistonline.com
www.huuble.com
|
guardian46
Joined: 31 May 2005
Posts: 34
Posted: 2005-07-06 23:46
Back to top
Reply with quote
|
A datemask should do the job:
| Code: |
);
$opts['fdd']['invdate'] = array(
'name' => 'Inv Date',
'select' => 'M',
'maxlen' => 11,
'datemask' => 'm-d-Y',
'required' => false,
'sort' => true
);
|
You'll still enter the dates in the Add and Change as YYYY-MM-DD, but Viewing will be MM-DD-YYYY.
|
|
Post new topic
Reply to topic
|
|
|
|