I need to check if the value of a particualr property is actually an ISO 8601 format.
2006-11-05T13:15:30Z
So, if someone enters some string as a property, I need to check whether it is per the format of ISO 8601.
What is the best way to accomplish this?
What have I tried?
strftime
- could not find if there is a simple way of checking if the input string is on the same lines as the ISO format.