Pradeep said:
I used the following formulae
ProjDateSub([Start],480) to subtract 8 hours. It works fine.
My requirement is to subtract 9.5 hours..if i replace 480by 570 it give me
wrong result
:
Pradeep sv wrote:
My requirement is to display 2 timezones in my plan
Start and Finish date (Column b,c) - IST
Start1 and Finish1 date (Column d,e) - EDT
Did you try using the custom fields and make them formulae per your
algorithm above? If yes, what was the result?
Pradeep,
I don't have time right now to work this out for you, but:
1. What was the result? How is it wrong? What is wrong?
2. Look at the documentation about this function. It mentions that it
uses projec calendars. Perhaps is the result it gives related to days as
defined in the calendar, so that when you go more than 8 hours it jumps
to a new day? I don't know; just a hunch that I would (but can't now)
research.
3. if No. 2 above is true, then find another function that does time
computations regardless of calendar. At first glance I did not find
that in the Project documentation.
4. Failing No. 3, then I'd write my own function which would be
notionally called TimeZoneAdd(Date_Time_TZ1, Minutes). Convert the
Date_Time_TZ1 into text and extract the Day, Month, Year, HH, MM, and SS
times as text. Add the number of Minutes using time arithmetic
(-negative number for timezones west), and then convert the result back
into a real date/time variable.