ZioMark's HUB | API Documentation
DiscordAbout Me
  • 🔳Introduction
    • 🔐Authentication
  • 🔲GET Endpoints
    • ▫️Dec to Hex
    • ▫️Hex to Dec
    • ▫️Timetamp to Date
    • ▫️CFX
    • ▫️Date
    • ▫️Date & Time Formatter
    • ▫️Text over Image
    • ▫️Image over Image
    • ▫️Weather
    • ▫️Translate
    • ▫️Convert Currency
    • ▫️Geolocation
    • ▫️QR Code Generator
    • ▫️Image Format Converter
    • ▫️Key Generator
    • 🌐Bored
    • ▫️BMI Calculator
    • ▫️VAT Calculator
    • ▫️SEO Analyzer
    • ▫️Local Time
    • ▫️Discount Calculator
    • ▫️Discount Discover
  • 🔲POST Endpoints
    • ▫️HTML to PDF
    • ▫️Loan Calculator
    • ▫️Excel to CSV
Powered by GitBook
On this page
  • /format-date-time
  • Query Parameters
  • Response
  • Example
  1. GET Endpoints

Date & Time Formatter

/format-date-time

This endpoint formats the provided date and times from the query parameters into the specified formats and returns them in the response.

Query Parameters

  • data: (string) Date in the format "DD/MM/YYYY".

  • ora: (string) Time in the format "HH:MM" (24-hour format).

  • ora2: (string) Another time in the format "HH:MM" (24-hour format).

Response

The response will contain a JSON object with the formatted date and times.

  • formattedDate: (string) Date in the format "YYYY-MM-DD".

  • formattedTime1: (string) Time 1 in the format "HH:MM".

  • formattedTime2: (string) Time 2 in the format "HH:MM".

Example

{
    "formattedDate": "2024-04-22",
    "formattedTime1": "09:30",
    "formattedTime2": "17:00"
}
PreviousDateNextText over Image

Last updated 1 year ago

🔲
▫️