setting timezone react-datepicker code example
Example: timezone in react js
<select value={this.state.timezone} onChange={this.onSelect}>
{Timezones.map((timezone) => <option value={timezone.value}>{timezone.name}</option>)}
</select>
<select value={this.state.timezone} onChange={this.onSelect}>
{Timezones.map((timezone) => <option value={timezone.value}>{timezone.name}</option>)}
</select>