Class BigQueryTimestamp (7.7.0) Stay organized with collections Save and categorize content based on your preferences.
Timestamp class for BigQuery.
The recommended input here is aDate orPreciseDate class. If passing as astring, it should be Timestamp literals: https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical#timestamp_literals. When passing anumber 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 theBigQueryTimestamp 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 | |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-30 UTC.