hi
is there a way to find out how many day/mins etc two different timestamp objects differ? e.g. today's date and tommorow's, or finding out tommorow's date based on current date?
thx
Printable View
hi
is there a way to find out how many day/mins etc two different timestamp objects differ? e.g. today's date and tommorow's, or finding out tommorow's date based on current date?
thx
You can to use a Date oblect to convert the timestamp to milliseconds.
You could the calculate date difference by substracting milliseconds and converting
back to yrs.mths.days:hrs:min:sec:ms
For finding next date just add the number of milliseconds for 24 hrs.