If you have your date components split up already the way you do, you
should be using mktime().
Next you have to determine which timezone your information is from. If
you consider your month/day/year values to be GMT values, then use
gmmktime() to generate your timestamp. Otherwise, make sure yo
I have $_POST['day'] (1-31), $_POST['month'] (1-12), $_POST['year']
(2003-2004).
I store all dates as unix (epoch) timestamps, and generate the timestamp for
the event with:
strtotime('{$_POST['month']}/{$_POST['day']}/{$_POST['day']}');
Everything works fine on my LAN (Australia), but when I up
2 matches
Mail list logo