4
i should have been more clear....
this works on 2.2.*, but when i just tested it on 2.*, the time seems to work correctly, but the calendar shows up wrong initially. (meaning, it shows default date as 1969))
it did seem to save correctly for me though. on extcal and news.
not sure about your situation though.
is the calendar date and time displaying correctly when you edit a user's profile?
everything after XoopsFormDateTime is using the wrong form elements in your code.
try this:
$dob_text = new XoopsFormDateTime( _US_DOB, 'dob', 15, $xoopsUser->getVar('dob', 'E')));
i think it should work(?)
depending on how you have saved the dob data the first time, it won't show up correctly in the calendar unless its was saved as unix timestamp format originally, however it should update the info when it is saved.
hope this helps..