how to get local meachine time and session time ..

Get our Free Newletter

Don't you have the time to be online here at DUG every day? So how do you follow what is going on in the Dynamics industry and community?
If you subscribe to the DUG Newsletter then you can relax! We will make sure that you don't miss the big news!

Check out our
Newsletter Subscription Center
page a complete list of our different newsletters.

Not Answered This post has 0 verified solutions | 0 Replies | 1 Follower

Male
89 Posts
925 Points
Joined: 2010-3-16
Last Online:
2013-5-25 9:09
Location: banglore
srikanth posted on 2012-10-20 12:30

hi all,

 

if any body working on the times , becarefully ,

 

if u want local meachine time uses this :datetimeutill::applytimezoneeffect(datetimeutill::getsystemdatetime,datetimeutil::getcilentmeachinetimezone());

 

if u r  want session date

 

datetimeutill::applytimezoneeffect(datetimeutill::getsystemdatetime,datetimeutil::getuserprefferedtimezone());

 

thanks

srikanth

Page 1 of 1 (1 items) | Get this RSS feed | Bookmark and Share