So I'm working on a method to verify if two dates/times are in chronological order. I'm able to convert the yyyymmdd string into an int but when I use string addition to add on hhmm for the time it fails. Here's what I'm doing
[works]
int startDateTime = Integer.parseInt("yyyymmdd");
[fails]
int startDateTime = Integer.parseInt("yyyymmddhhmm");
Where:
yyyy = 4 digit year
mm = 2 digit month
dd = 2 digit day
hh = 2 digit hour
mm = 2 digit minute
