Getting date from unknown Date format string
If i have a string that contain a date in a format (unknown) "d/MM/YY" or "m:d:YYYY" etc.). How could i parse it and get day,month,year values ? I tried to parse them by filling an array with all format combinations , and try to parse the date with each one of them , i think it's a stupid solution ! Any ideas ?
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.