P Penfound Active Member Licensed User Longtime User Mar 26, 2014 #1 A very simple question because I know it is in here somewhere but I can't find it Penfound
thedesolatesoul Expert Licensed User Longtime User Mar 26, 2014 #2 Here: http://www.b4x.com/android/help/core.html#datetime_ticksperday How to find it: Type DateTime in the search box and click on the Object documentation. Upvote 0
Here: http://www.b4x.com/android/help/core.html#datetime_ticksperday How to find it: Type DateTime in the search box and click on the Object documentation.
Erel B4X founder Staff member Licensed User Longtime User Mar 26, 2014 #3 Note that the only correct way to make date calculations is with DateUtils: DateUtils - Simplifies Date and Time Calcuations The reason is that there are days with 23 hours and days with 25 hours. Upvote 0
Note that the only correct way to make date calculations is with DateUtils: DateUtils - Simplifies Date and Time Calcuations The reason is that there are days with 23 hours and days with 25 hours.
H hbruno Member Licensed User Longtime User Mar 26, 2014 #4 Are we living on the same planet ? Upvote 0
eps Expert Licensed User Longtime User Mar 26, 2014 #6 Penfound said: A very simple question because I know it is in here somewhere but I can't find it Penfound Click to expand... What are you attempting to do? Upvote 0
Penfound said: A very simple question because I know it is in here somewhere but I can't find it Penfound Click to expand... What are you attempting to do?
Erel B4X founder Staff member Licensed User Longtime User Mar 27, 2014 #7 hbruno said: Are we living on the same planet ? Click to expand... Date and time calculations are surprisingly very difficult. Many countries on planet Earth change their time zone twice a year. It is related to the fact that Earth is orbiting the sun. DateUtils correctly handles these changes. Upvote 0
hbruno said: Are we living on the same planet ? Click to expand... Date and time calculations are surprisingly very difficult. Many countries on planet Earth change their time zone twice a year. It is related to the fact that Earth is orbiting the sun. DateUtils correctly handles these changes.
P Penfound Active Member Licensed User Longtime User Apr 2, 2014 #8 eps said: Daylight saving? Click to expand... I think you have just pointed out why Erel was right I had forgotten about daylight saving altering the number of hours in a day! Upvote 0
eps said: Daylight saving? Click to expand... I think you have just pointed out why Erel was right I had forgotten about daylight saving altering the number of hours in a day!
eps Expert Licensed User Longtime User Apr 2, 2014 #9 Penfound said: I think you have just pointed out why Erel was right I had forgotten about daylight saving altering the number of hours in a day! Click to expand... Upvote 0
Penfound said: I think you have just pointed out why Erel was right I had forgotten about daylight saving altering the number of hours in a day! Click to expand...