Showing posts with label DataTimeUtil. Show all posts
Showing posts with label DataTimeUtil. Show all posts

Tuesday, May 17, 2011

To get current date and time using DateTimeUtil

To get Current date with minimum time and maximum time:

Current date 12:00:00 AM - DateTimeUtil::newDateTime(SystemDateGet(),0);
Current date 11:59:59 PM - DateTimeUtil::newDateTime(SystemDateGet(),Global::timeMax());