Welcome Guest, Not a member yet? Register   Sign In
Dealing with Time & Date Stamps
#1

[eluser]Bionicjoe[/eluser]
I need fields where users can enter a date & time for the start and end of events. The event could span multiple days. Total time will need to be calculated.

I have no experience working with timestamps in forms or SQL. Anyone know of a good tutorial on such matters?

I'm thinking a small popup calendar using Javascript is in order.
#2

[eluser]skunkbad[/eluser]
See the time function at php.net/time

See the date function at php.net/date

another handy function is strtotime, and you can see that at php.net/strtotime




Theme © iAndrew 2016 - Forum software by © MyBB