intl react native get timezone name code example
Example 1: react native get timezone
var date = new Date();
var offsetInHours = date.getTimezoneOffset() / 60;
Example 2: react native get timezone
import DeviceInfo from 'react-native-device-info';
console.log(DeviceInfo.getTimezone()); // 'America/New_York'