Skip to main content
Module

x/ptera/datetime.ts>DateTime

Ptera is DateTime library for Deno
Latest
class DateTime
import { DateTime } from "https://deno.land/x/ptera@v1.0.2/datetime.ts";

Constructors

new
DateTime(date: DateArg, option?: DateTimeOption)

Properties

readonly
day: number
readonly
hour: number
readonly
locale: string
readonly
millisecond: number
readonly
minute: number
readonly
month: number
readonly
second: number
readonly
timezone: Timezone
readonly
valid: boolean
readonly
year: number

Methods