Presto
GitHub
Getting Started
Guides
Packages
View Model
Final Form
REST
Routing
UI
UI ANTD
Util
isPromise
useAsync
useAsyncListing
useAsyncValue
useChangeObserver
useListChangeObserver
Comparison
isDeepEqual
isEqual
Identifiable
getId
hashId
Identifiable
isIdentifiable
isSameById
Labeled
getNodeLabel
getTextLabel
isLabeled
isNodeLabeled
NodeLabeled
TextLabeled
Pagination
CursorPaginator
InferredPaginator
LimitOffsetPaginator
PageNumberPaginator
Paginator
usePaginator
Time
formatTime
parseTime
On this page
Arguments
parseTime
Source
import { parseTime } from "@prestojs/util";
parseTime
(
value
)
Arguments:
Argument
Type
Description
*
value
string
|
Date
Returns:
An object with these properties:
Property
Type
Description
*
hour
number
*
millisecond
number
*
minute
number
*
second
number
timezoneOffset
number