DovaFM Documentation
WebsiteAdd Discord Bot
  • Welcome to the DovaFM Documentation!
  • DovaFM Stream
    • Embed Widgets
    • Public Pages
    • Radio & Playlist Streams
  • DovaFM API
    • Now Playing
    • Stations
      • General
      • Broadcasting
      • Song Requests
      • Service Control
      • History
      • HLS Streams
      • Listeners
      • Schedules
      • Media
      • Mount Points
      • Playlists
      • Podcasts
      • Queue
      • Remote Relays
      • SFTP Users
      • Streamers/DJs
      • Web Hooks
    • Administration
      • Custom Fields
      • Users
      • Relays
      • Roles
      • Settings
      • Stations
      • Storage Locations
      • CPU Status
    • Miscellaneous
      • Status
      • Time
  • DovaFM Discord Bot
    • Information
    • Commands
  • DovaFM Staff
    • Staff Members
Powered by GitBook
On this page
  1. DovaFM API
  2. Miscellaneous

Time

PreviousStatusNextInformation

Last updated 7 months ago

get

Returns the time (with formatting) in GMT and the user's local time zone, if logged in.

Responses
200
Success
application/json
get
GET /api/time HTTP/1.1
Host: listen.dovafm.xyz
Accept: */*
200

Success

{
  "timestamp": 1497652397,
  "utc_datetime": "2017-06-16 10:33:17",
  "utc_date": "June 16, 2017",
  "utc_time": "10:33pm",
  "utc_json": "2012-12-25T16:30:00.000000Z"
}