func(live)

convertDatetimeToAnotherTz

$0.01/invocation
This func converts the given datetime to the specified timezone and utilizes JavaScript's internal `Intl` functions to handle the conversions, if no datetime is provided then it will convert the UTC datetime to the specified timezone. The timezone should be a valid timezone string refer: https://worldtimeapi.org/timezones. The datetime should be a valid ISO datetime string. The code is written in TypeScript and the API is built using Express.js and tested using Jest and Supertest.
convertDatetimeToAnotherTz(
)
=
loading...
API
python
Ruby
>_
Google Sheets
Chat
Email

To use this function in your Ruby application:
1. Install it:
gem install func_live
2. Copy over this snippet:
FuncLive.token = 'FUNC_TOKEN' FuncLive.("convertDatetimeToAnotherTz", {   "datetime": "2024-10-24T12:00:00Z",   "timezone": "Asia/Kolkata" })
3. Make sure to replace FUNC_TOKEN with an actual token from tokens.wakeflow.io
awakeflow logoservice
v1.0.1
Having trouble? Try our
whatsapp logo
Whatsapp Support