PEAK XOOPS - XoopsFormTextDateSelect in englishin japanese

XoopsFormTextDateSelect

List posts in the topic

question XoopsFormTextDateSelect

msg# 1
depth:
0
Previous post - Next post | Parent - Children.1 | Posted on 2004/1/12 22:16
DaBoyz  二等兵   Posts: 5
For a module i'm developping, I need to set date from 1900 to 20xx (for birthday) ... I used the same function like you in the piCal module (XoopsFormTextDateSelect) to display the calendar that permit to choose the date ...

I modify the line 38 in include/calendarjs.php :
cal.setRange(2000, 2015);
to
cal.setRange(1900, 2015);

It's working but the function uses TIMESTAMP format to store in the database but I use DATETIME (not limited from 1970), do you know how to modify the function to store the data with this format and also retrieve date for modification ?
Votes:1 Average:10.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!