Re: Convert input to Unix Timestamp



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.

Thank you,
Harvey

Whatever format you is most convenient for the user. You can always massage the format internally before putting it in the database.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================
.



Relevant Pages

  • Re: Convert input to Unix Timestamp
    ... eclipsme wrote: ... if you only care about year-month-day, ... want to store the data as a timestamp? ... -Friends don't let friends drive Windows ...
    (alt.php)
  • Re: Convert input to Unix Timestamp
    ... eclipsme wrote: ... I only care about the year-month-day, ... You can always massage the format internally before putting it in the database. ... How would I cinvert this to a timestamp? ...
    (alt.php)
  • Re: Convert input to Unix Timestamp
    ... Jerry Stuckle wrote: ... I only care about the year-month-day, ... You can always massage the format internally before putting it in the database. ... How would I cinvert this to a timestamp? ...
    (alt.php)
  • Re: Convert input to Unix Timestamp
    ... Jerry Stuckle wrote: ... I only care about the year-month-day, ... You can always massage the format internally before putting it in the database. ... How would I cinvert this to a timestamp? ...
    (alt.php)
  • Re: Convert input to Unix Timestamp
    ... eclipsme wrote: ... be input into a table as a timestamp? ... I only care about the year-month-day, ... You can always massage the format internally before putting it in the database. ...
    (alt.php)