I am writing a module right now that changes the theme. This is a site specific module, so the only two themes are a "high bandwidth" theme and a "low-bandwidth" theme.
On each page I am generating a link back to that page that allows the theme to switch. For example. if you were at mysite.com/about, then there would be a link a to mysite.com/lo/about, which when you click on it, the theme changes to the low bandwidth version.
I am in the process of writing a module that will take a date as part of creating a node. If there were a form_date() function, I would use that. Because there isn't, I'm here asking for advice.
What is the best and most consistent way to create a date entry on a form?