Convert UTC time in Indian Time

Usage no npm install needed!

<script type="module">
  import utcToIndiantime from 'https://cdn.skypack.dev/utc-to-indiantime';


Convert your UTC(Coordinated Universal Time) into IST(Indian Standard time)

In this package you can convert UTC time in Indian time. You just have to give new Date in function and it will return you Indian date. Enjoy...


const express = require('express');

const router = express.Router();

const utcToIndiantime = require('utc-to-indiantime');

router.get('/time', async(req, res) => {

let utcDate = new Date(); // 2021-02-16T12:36:08.559Z

let indianDate = utcToIndiantime(utcDate); // 2021-02-16T18:06:08.559Z

res.json({ indianDate: indianDate }) // { "indianDate": "2021-02-16T18:06:08.559Z" } })

module.exports = router;


This is a Node.js module available through the npm registry.

Before installing, download and install Node.js. Node.js v10.22.1 or higher is required.

Installation is done using the npm install command:

$ npm i utc-to-indiantime