How do I get the UTC milliseconds for today at a given time, say 6:15PM?
I want that as a start time then I will use the GPS getTime() function and be able to compute how much time until my start as the race committee always uses GPS time.
Looking at this documentation Calendar, I would think I would just need to call Calendar(); then get(MONTH), get(YEAR), etc and do a set(year, month, day, 18, 15,0); but that doesn’t work.
Maybe it is Calendar.YEAR, etc but I have not figured out the set equivalent and I get warnings.
I would appreciate some help.
1 Answer