P
pamela fluente
Say that I have the variable "RomeDate" containing a date with my
local time, in Rome, Italy.
I wish a function to convert RomeDate to another datetime variable
containing the same date
but with NY time:
Function RomeToNewYorkTime(RomeDate as Date) as Date
dim NYDate as date = ... ?? ...
return NYDate
end function
How can I do that in such a way it works for *any* day or month of the
year ?
[clearly I know that, at this time, there's 4 hours difference, but I
want a function which would work *in general*
whatever, day or month it is]
I know it is a trivial question but I am problem finding the VB
classes to handle the respective legal ("summer") times.
Thank you very much for any help,
P
local time, in Rome, Italy.
I wish a function to convert RomeDate to another datetime variable
containing the same date
but with NY time:
Function RomeToNewYorkTime(RomeDate as Date) as Date
dim NYDate as date = ... ?? ...
return NYDate
end function
How can I do that in such a way it works for *any* day or month of the
year ?
[clearly I know that, at this time, there's 4 hours difference, but I
want a function which would work *in general*
whatever, day or month it is]
I know it is a trivial question but I am problem finding the VB
classes to handle the respective legal ("summer") times.
Thank you very much for any help,
P