Welcome to Fireapis
  • Welcome
  • The Basics
    • Basics
    • Environment
      • Creating an Environment
      • Configure Domain
    • Auth
    • Secrets
    • Tables
      • Creating Table
      • Testing Tables
      • Add a New Column
      • Table Properties
      • Endpoints
      • Data
      • Deleting a Column
      • Deleting a Table
    • Webhooks
    • Marketplace
    • Logics
      • Dynamic Data Source Selection
      • Testing Logics
      • Actions
        • External API Request
        • Query Builder
        • Data Transformation
        • Build Object
        • Build Conditions
        • Other Utilities
          • Token Generation
          • Token Decryption
          • Hashing
          • Validate Hash
          • Encrypt
          • Decrypt
        • Date Utilities
          • Find Difference Between Dates
          • Add/Subtract Dates
          • Format Date
          • Apply Timezone to Date
  • Next steps
    • What Next?
Powered by GitBook
On this page

Was this helpful?

  1. The Basics
  2. Logics
  3. Actions
  4. Date Utilities

Apply Timezone to Date

Convert a given date or timestamp to a different timezone of your choice.

PreviousFormat DateNextWhat Next?

Last updated 2 months ago

Was this helpful?

This action allows you to change the timezone of a date or timestamp to align with your selected timezone. Below are the configuration steps:

Pick Date

Use the Dynamic Data Source Selector popup to enter or select a date from a previous action or payload. This is the date to which the timezone will be applied.

Timezone of Input Date

Specify the timezone of the selected input date. If left blank, the input date will be treated as UTC by default.

Timezone of Output Date

Select the desired timezone from the list of available timezones to which the input date should be converted.

We’ve included screenshots to demonstrate how to set up this action and the resulting date conversion. Below is the sample payload data used:

{
  "start_date": "2024-02-03",
  "end_date": "2025-02-03"
}

Apply Timezone Conversion Action Configuration
Apply Timezone Conversion Action Result