Docs Menu
API Developer Guide / middleware / pub / date / convertToUTC

Service: convertToUTC

This service is used to convert to date object time from a timezone to UTC timezone.

Input Parameter:

Name Type Description
dateObj: Object Datetime Value

Output Parameter:

Name Type Description
convertToUTC: Object Converts Datetime value in the specified time zone to corresponding value in UTC time zone