Hi there,

I would like to know if there is (and if then how to do) a way to
manipulate data from datetimefields.
I am doing a bookingsystem. Arrival is ment to be at 13:00, leave at
10 :00.

I use datetime fields in the views and database.
Now before saving I would like to always set the arrival to 12 and the
leave to 10 o clock.

This for I know I ll need to split up the datetime, manip it and
rejoin it.
Shure this might be done by stringmanipulation and concatenation, too.

I am looking for a more well-done way like any extract function inside
cake or php itselfe.

Suggest?

TIA

Michael

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to