Using timezone abbreviation (Eg: CT, ET) and timeZoneOffset, I want to create a DateTime Object with a specified timezone. But I am always getting the date in current timezone.
But DateTime object should be specified timezone. But i did not find the option to specify the timezone while creating a DateTime Object.
Using timezone abbreviation (Eg: CT, ET) and timeZoneOffset, I want to create a DateTime Object with a specified timezone. But I am always getting the date in current timezone.
But DateTime object should be specified timezone. But i did not find the option to specify the timezone while creating a DateTime Object.