if you don't want the user to input trash, don't give him the opportunity.
on your form, put three two character input fields. label the fields month,
day and year, or what ever is the most common order that your user will
input a date. put '-' or whatever, between the fields - just to make th
karel pitra wrote:
>
> hi,
>
> first - using php wouldn't it be much easier to use an integer to
> store datetime in the database? - i think it's faster and it allows you to
> manipulate the date much more easily.
>
> you could just tokenize the date string (using space,'/' and '-' or any ohter
hi,
first - using php wouldn't it be much easier to use an integer to
store datetime in the database? - i think it's faster and it allows you to
manipulate the date much more easily.
you could just tokenize the date string (using space,'/' and '-' or any ohter
characters as the separators) - yo
Greetings:
Building a web form. There are 3 datetimes: RequestDate, FulfillDate, and
CancelDate.
New record populates a web form with the current date/time in -mm-dd
hh:mm:ss format. RequestDate is current date, FullFillDate and CancelDate are
"-00-00 00:00:00".
Updates present them