[Catalyst] Date fields in mysql
Dmitri Pissarenko
dmitri.pissarenko at gmail.com
Mon May 7 12:34:47 GMT 2007
Hello!
I have a model class, which has one field of "date" type.
I'm trying to save data in this field using
my $activity = $c->model('TimeTrackingAppDB::Activity')->create({
...
date => $dateAsString,
});
where $dateAsString contains a string in this format: "28-5-2007".
The date is not saved.
What can I do to save the date (how to convert a string into
something, which catalyst accepts as a date) ?
TIA
Dmitri Pissarenko
More information about the Catalyst
mailing list