Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, May 1, 2026
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  phpMyEdit  »  Forum  »  Date format

phpMyEdit General     Date format
Post new topic   Reply to topic    
 
tyty     Joined: 01 Jul 2005   Posts: 1  
Post 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  
Post 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    

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy