← Scheduler API

Function · v2.8.0

ngbSchedulerLocalTime

Project an explicit-offset instant to local ISO fields, independently of the host timezone.

Import

import { ngbSchedulerLocalTime } from '@angular-bootstrap/ngbootstrap';

Declaration

function ngbSchedulerLocalTime(instant: string, timeZone: string): string;
Source: src/scheduler/scheduler-timezone.ts in the installed @angular-bootstrap/ngbootstrap package. Angular compiler metadata and private members are omitted.