1. When I attempt to get system date and time.
utcDateTime processedDateTime;
processedDateTime = DateTimeUtil::getSystemDateTime();
2. When I attempt to get Timezone from date and time. So I tried to apply a Timezone offset to this date and time. My timezone is GMT +05:30. The Timezone enum for this is Timezone::GMTPLUS0530CHENNAI_KOLKATA_MUMBAI
utcDateTime processedDateTime;
processedDateTime = DateTimeUtil::applyTimeZoneOffset(DateTimeUtil::getSystemDateTime()
, Timezone::GMTPLUS0530CHENNAI_KOLKATA_MUMBAI);
utcDateTime processedDateTime;
processedDateTime = DateTimeUtil::getSystemDateTime();
2. When I attempt to get Timezone from date and time. So I tried to apply a Timezone offset to this date and time. My timezone is GMT +05:30. The Timezone enum for this is Timezone::GMTPLUS0530CHENNAI_KOLKATA_MUMBAI
utcDateTime processedDateTime;
processedDateTime = DateTimeUtil::applyTimeZoneOffset(DateTimeUtil::getSystemDateTime()
, Timezone::GMTPLUS0530CHENNAI_KOLKATA_MUMBAI);
Comments
Post a Comment