Javascript Date Timezone Format. By using the format () method, you can convert a date into a