Use the following function to get IST Date Time Values of the cell value into EST Date-Time Value. Paste the following VBA code into Module and that's it!
'/-----------------
Function IST_to_EST(ByRef SelectRange As Range) As Date
ESTValue = SelectRange.Value - (0.0416667 * 10.5)
IST_to_EST = ESTValue
End Function
'/-----------------
See this video to get more idea on this. Please comment if you have any query.
No comments:
Post a Comment