Unix Timestamp to ISO Date Converter API
detail.loadingPreview
This n8n workflow creates a simple API endpoint to instantly convert Unix timestamps (in seconds) into ISO 8601 formatted date strings. It's an efficient solution for standardizing date formats across various systems and applications.
About This Workflow
Many modern applications and databases prefer ISO 8601 for date representation, while legacy systems or specific data streams often provide Unix timestamps. This n8n workflow elegantly bridges this gap by creating a dedicated, self-hosted API endpoint. Simply send a POST request containing a Unix timestamp (in seconds), and the workflow will immediately return the corresponding ISO 8601 formatted date string. This eliminates the need for custom coding or manual conversions, ensuring data consistency and simplifying integrations between disparate systems, ultimately streamlining your data processing workflows.
Key Features
- Dedicated API Endpoint: Exposes a custom webhook URL for receiving timestamp conversion requests.
- Automated ISO 8601 Conversion: Transforms Unix timestamps (seconds) into precise ISO 8601 date strings (e.g.,
2023-03-15T00:00:00.000Z). - Real-time Responses: Delivers the converted date string back to the calling system instantly.
- Seamless Integration: Designed for easy integration with any application or script capable of making HTTP POST requests.
- Self-Hosted Utility: Provides a private and secure date conversion service running within your n8n instance.
How To Use
- Import the Workflow: Download this JSON snippet and import it into your n8n instance.
- Activate the Workflow: Toggle the workflow status to 'Active' to enable the webhook listener.
- Retrieve Webhook URL: Open the 'Receive Timestamp Webhook' node. You will find the unique webhook URL under 'Webhook URL'. This is your API endpoint.
- Send a POST Request: Make an HTTP POST request to this URL. The request body must be a JSON object with a
timestampproperty, containing a Unix timestamp in seconds (e.g.,{"timestamp": 1678886400}). - Receive Converted Time: The workflow will respond with a JSON object containing the
convertedTimeproperty, holding the ISO 8601 formatted date string.
Apps Used
Workflow JSON
{
"id": "ffb8de24-0b60-48c7-963a-64238cc8fce0",
"name": "Unix Timestamp to ISO Date Converter API",
"nodes": 7,
"category": "Operations",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: ffb8de24-0b60...
About the Author
SaaS_Connector
Integration Guru
Connecting CRM, Notion, and Slack to automate your life.
Statistics
Related Workflows
Discover more workflows you might like
Universal CSV to JSON API Converter
Effortlessly transform CSV data into structured JSON with this versatile n8n workflow. Integrate it into any application as a custom API endpoint, supporting various input methods including file uploads and raw text.
Instant WooCommerce Order Notifications via Telegram
When a new order is placed on your WooCommerce store, instantly receive detailed notifications directly to your Telegram chat. Stay on top of your e-commerce operations with real-time alerts, including order specifics and a direct link to view the order.
On-Demand Microsoft SQL Query Execution
This workflow allows you to manually trigger and execute any SQL query against your Microsoft SQL Server database. Perfect for ad-hoc data lookups, administrative tasks, or quick tests, giving you direct control over your database operations.