I am having a long value which represents a date ,that is have converted a date to long,now i want to increment the long value itself to next date,how to perform operation on a long value to get the next date.
long endDate=1454756400000
represent todays date long value,which is milliseconds (00:00:00 GMT, January 1, 1970).
What is the representation? Seconds since some epoch?
If seconds, you can add seconds per day (60*60*24)? Then covert back to printable.