$ 0 0 You can write code like below to convert among date to date time DateTimeUtil::newDateTime(today(), 0, DateTimeUtil::getCompanyTimeZone());