This is probably so simple but I want to display different time zones but don't know how to add or subtract say 60 mins to the pc time for displaying???
these could be created as pointers in the header of your class and initialised in its constructor - but every time you want to update the time displays, you must refill the data with the current time and offset. The one_hour however can remain constant.
or you could just add 1/24 to the CurrentDateTime since this stores information in the form of 1=1day, hours minutes and seconds being stored as the equvalent fraction of 1(day).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.