Re: From a MySQL datetime field into a $form-generateDateTime() field

2006-09-01 Thread Diz
Hello there! generateDateTime() is a real solution, but, still, it has it's own problems. As you probably know 'datetime' in MySQL has a 'Y-m-d H:i:s' pattern, and generateDateTime() returns only 'Y-m-d H:i' (if set on 24-hour cycle) or 'Y-m-d H:i a' (if set on 12-hour cycle). I would like

From a MySQL datetime field into a $form-generateDateTime() field

2006-08-31 Thread Toby (The Balloon Guy) Parent
I have a table with a datetime field. The generateDateTime() isn't the prettiest, but it's prettier than if I built something and will provide until I set up something more permanent. The problem is, I don't know of a Cake-ized way of pulling a datetime into a generateDateTime(). ideas?