Diaflow's Documentation
HomePricingIntegrations
Documentation
Documentation
  • 😎WELCOME TO DIAFLOW
    • Introduction to Generative AI
    • What can you build with Diaflow?
  • 💻USER ACCOUNT
    • Create your user account
    • Delete your user account
    • Log out and log in
    • Change "Personal" & "Workspace" settings
    • Reset user account password
  • 🚀Getting Started
    • Let's start with the basics
      • How a component works?
      • How a flow works?
      • Creating your first flow
    • Dashboard
      • Services
      • Create a flow from scratch
      • Create a flow from templates
      • View your flows
    • Terminology
  • 🌊Flows
    • Overview
    • Create a flow
    • Delete a flow
    • Manage a flow
    • Publish a flow
    • Unpublish a flow
    • Deployment
    • Component Reference
      • Trigger
        • When inputs are submitted (Apps)
        • Cronjob (Automation)
        • Webhook (Automation)
        • Microsoft Outlook (Automation)
      • Outputs (Apps)
        • Text Output
        • Chart Output
        • Video Output
        • Audio Output
        • Image Output
      • Built in tools
        • Branch
        • Merge (Multiple data source to JSON)
        • Split Data (JSON Formatter)
        • Video to audio
        • Get current date and time
        • Web scraper
        • Document to plain text
        • Retrieve data from spreadsheet (Spreadsheet analyzer)
        • Spreadsheet creator
        • Convert JSON to chart data
        • PDF to image
        • Get weather information
        • HTTP Request
        • Get GEO Location
        • SMTP
        • Loop
      • Built in resources
        • Diaflow Vision
        • Diaflow Vectors
        • Diaflow Drive
        • Diaflow Table
      • Apps
        • Hunter.io
        • Outlook Email
        • Telegram
        • Slack
        • Python
        • YouTube
        • SerpAPI
        • Google Sheet
          • Document-level Operations
          • Sheet-level Operations
          • Data-level Operations
      • Database
        • MySQL
        • Microsoft SQL
        • PostgreSQL
        • Snowflake
      • Private AI/LLM Models
        • OpenAI
          • GPT Variants
          • GPT Vision
          • DALL-E Variants
          • TTS Variants
          • Whisper
        • Anthropic
        • Llama
        • Google Gemini
        • Cohere
        • MistralAI
      • Public AI/LLM Models
        • OpenAI Cloud
        • Perplexity Cloud
        • Deepseek Cloud
        • Anthropic Cloud
        • Replicate
        • Straico
        • OpenRouter
        • Cohere Cloud
        • Google Gemini Cloud
        • MistralAI Cloud
        • ElevenLabs Cloud
      • AI Tools
  • ✒️PRODUCTIVITY TOOLS
    • Tables
    • Drive
    • Vectors
      • Document
      • Article
      • URLs
  • 🏠Workspace
    • History
    • Teams
    • Billing & Subscription
      • Upgrade/Downgrade a subscription
      • Buy credits
      • Credit Usage
      • Cancel a subscription
    • Settings
      • Personnal
      • Workspace
        • Change workspace
        • Workspace settings
        • Custom Domain
        • Delete workspace
      • Change Language
    • Documentation
    • Integrations
    • API keys
  • 📑Other
    • FAQs
    • Contact Information
Powered by GitBook
On this page
  • Description
  • Component settings
  • Advanced configurations
  • Use case

Was this helpful?

  1. Flows
  2. Component Reference
  3. Built in tools

Get current date and time

Configure and retrieve the current date and time based on specific formats and timezone settings.

Last updated 1 month ago

Was this helpful?

Description

What it does This component offers comprehensive capabilities for managing date and time settings. It allows you to configure and retrieve the current date and time according to specific formats and timezone settings. You can customize the format to display the date and time in various styles, such as YYYY-MM-DD or MM/DD/YYYY, and select from different timezones to ensure accuracy based on your geographical location. This flexibility makes it easy to integrate precise and properly formatted date and time information into your applications, ensuring that they meet user requirements and regional standards.

The Get current date & time component has the identifier of date-time-X, where X represents the instance number of the Get current date & time component.

When to use it? Let's say you are scheduling automated social media posts. You can use this node to automatically add the current date and time to your posts, or to schedule posts to go out at specific times every day.

Component settings

Parameter Name
Description

Retrieval data

Options to retrieve Day, Date, and Time. These are the data elements to be fetched.

Options:

  • Day

  • Date

  • Time

Day format

Specifies the format of the day.

Options:

  • Current day from Monday to Sunday

  • Number of the day from 1 to 7

Date format

Specifies the format of the date

Options:

  • MM/DD/YYYY

  • DD/MM/YYYY

  • YYYY/DD/MM

  • YYYY/MM/DD

Time format

Specifies the format of the time

  • 24 hours

  • 12 hours

Timezone

Timezone refer to a region of the Earth that has the same standard time. Timezones are defined by their offset from Greenwich Mean Time (GMT). The values vary between GMT -12 to GMT +12.

Advanced configurations

The Get current date and time has no advanced configurations.

Use case

Here is a simple use case of the Get current date & time component, where the Get current date & time component is used to generate the day, the date and the time of the day.

🌊