Timestamp class for BigQuery.
The recommended input here is a Date or PreciseDate class. If passing as a string, it should be Timestamp literals: https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical#timestamp_literals. When passing a number input, it should be epoch seconds in float representation.
Package
@google-cloud/bigqueryConstructors
(constructor)(value)
constructor(value: Date | PreciseDate | string | number);Constructs a new instance of the BigQueryTimestamp class
| Parameter | |
|---|---|
| Name | Description |
value |
Date | PreciseDate | string | number
|
Properties
value
value: string;Methods
fromFloatValue_(value)
fromFloatValue_(value: number): PreciseDate;| Parameter | |
|---|---|
| Name | Description |
value |
number
|
| Returns | |
|---|---|
| Type | Description |
PreciseDate |
|