If you’re a developer you’ll know that working with dates can be difficult. Try to do anything reasonably complex with dates and before long you’ll be imagining a perfect world where countries stop shifting their hours backwards and forwards in a quest for more daylight, every month has the same number of days, timezones are abolished, and there are 10 hours in a day and so on and so on.
Date Format Creator aims to make working with dates a little bit easier by giving you a date formatter to test and experiment with. Enter your UTS date format, pick a date and see how an NSDateFormatter would convert it into a string. Enter a date as a string and see if it’s valid and becomes the date you’re expecting. Once you’re happy your format is correct you can export the Objective-C or Swift code to initialise a NSDateFormatter to your specifications.
Stop wasting time wondering why your dates aren’t being parsed and start using Date Format Creator.
- Tiny update here just to add a prompt to sign up to my mailing list and to prompt to view my latest other developer tools.
OS X 10.11 or later, 64-bit processor