Re: Convert input to Unix Timestamp
- From: "Beauregard T. Shagnasty" <a.nony.mous@xxxxxxxxxxxxxxx>
- Date: Sun, 16 Nov 2008 15:04:32 -0500
eclipsme wrote:
What is the suggested best ways to accept a date in a form that will
be input into a table as a timestamp? I only care about the
year-month-day, not the time.
My question would be: if you only care about year-month-day, why do you
want to store the data as a timestamp? Why not simply use a date field?
2008-11-16
If you are worried about varied input by users, use three separate
fields on your form and combine them before storage.
Enter date: Year [ ] Month [ ] Day [ ]
or similar.
--
-bts
-Friends don't let friends drive Windows
.
- Follow-Ups:
- Re: Convert input to Unix Timestamp
- From: eclipsme
- Re: Convert input to Unix Timestamp
- References:
- Convert input to Unix Timestamp
- From: eclipsme
- Convert input to Unix Timestamp
- Prev by Date: Re: Convert input to Unix Timestamp
- Next by Date: Re: Convert input to Unix Timestamp
- Previous by thread: Re: Convert input to Unix Timestamp
- Next by thread: Re: Convert input to Unix Timestamp
- Index(es):
Relevant Pages
|