I have a calendar/todo app on my wordpress site. I need to be able to let users set their timezone for this. The plan is to have a front end drop down, then jquery updates the user's object.
Does anybody know what the server side api to set an individual user's timezone? Something like:
wp_update_user(array(
'id' => $id,
'timezone' => '+1'
));
cheers, David