Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199903

[PHP3] date/time problem From: a. otto (andreas.otto <email protected>)
Date: 03/23/99

hello,

time has come that i have again some problems ;-)

i have a form on a website where people can login and logout and
describe what they are doing.

in two of the formfields the current date (23.03.1999) and time
(07:18:12) is shown. to make it more difficult the user can change the
settings and use whatever time and date he wants. so i pass it to
another page which inserts the settings to a datbase.

whenever i select these informations form the database i get the
following information out of the m$-access database:
date: 23.03.1999 00:00:00
time: 01.01.1899 07:18:12

so i decided to convert the date and time variables to unix-timestamp
and there is my problem. i don't know how...

it's no problem for me anymore to convert date to timestamp but i have a
variable here which contents a string and i really don't know how to
solve this problem.

tia,
andreas

==================================================
andreas otto
germany
email: andreas.otto <email protected>

nach paragraph 28 abs. 3 bdsg widerspreche ich
der nutzung oder uebermittlung meiner daten fuer
werbezwecke oder markt- und meinungsforschung
==================================================

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive:  http://www.php.net/mailsearch.php3
List administrator:  zeev-list-admin <email protected>