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

sp core library.timeprovider.getdate

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

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

TimeProvider.getDate() method

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

Signature:

getDate(): Date;

Returns:

Date

Clone this wiki locally