In Javascript and php, there are built in functions for taking a month,day, year, time list of variables (like from a form) and turning them into a Unix-based timestamp, you know, the long number that is the amount of seconds that have passed since I believe Jan 1, 1970. Then there are built in functions that allow you to start with a unix-based timestamp and extract only one item. Ie.the month, the day, the numbered day of the year, the numbered day of the week, the numbered week of the year, am/pm etc. Time, mktime, date etc. are some to start reading up on. Once you see what they can do, then making your own tiny scripts to manipulate them is easier. -=Randy
On 11/9/07 9:52 AM, "Steve Finkelstein" <[EMAIL PROTECTED]> wrote: > > Hi all, > > Is it possible at all to use any sort of calendar/date/time type > widgets for iPhone web applications? I'm currently writing some > functionality for a portion of my site which pre-populates some input > boxes with the current date. That's simple enough. The difficult > instance is letting users select arbitrary dates in the past/future. > Would be much easier with a calendar or some other 'widget'. > > Before I go forward and re-invent the wheel, has anyone seen any > clever/nifty ways of handling date/time functionality on the iPhone > for web applications? I'd like to see some examples or hear some > ideas. If not, I'll share with whatever I can muster up. > > Cheers, > > - sf > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en -~----------~----~----~----~------~----~------~--~---
