Skip to content
This repository has been archived by the owner on Oct 23, 2021. It is now read-only.

sp core library.itimeprovider.getdate

John Nguyen edited this page Apr 22, 2021 · 2 revisions

Home > @microsoft/sp-core-library > ITimeProvider > getDate

ITimeProvider.getDate() method

Returns the current date/time, similar to the Date class constructor.

Signature:

getDate(): Date;

Returns:

Date

Clone this wiki locally