Skip to content

tuhinpal/time-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Indian Time API

Backstory

Previously I worked for a client of mine and I needed a time api for that, I found many apis but many of them are not free or limited or just give me a unix time, to convert a time I used Javascript Function, that thing make it complicated so i decided to use my own api for fetch time. To make an api i need another api to get unixtime, the api have to be very fast and free. Luckily i found Akmai's Time Api, which give me unixtime. The time based on GMT, to convert it on IST I added + 5 Hour 30 Mins (19800) with it. Firstly I was thinking to use Cloudflare Workers but it is limited for 1 Lakh request, To make it truly unlimited I used Vercel. To convert time in readble format i used MomentJS.

Make Your Own

Deploy with Vercel



My Website & Social


Website .. Facebook .. Instagram .. YouTube .. Blogger