[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# BigQuery Client - Class Timestamp (1.34.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.34.0 (latest)](/php/docs/reference/cloud-bigquery/latest/Timestamp)\n- [1.33.1](/php/docs/reference/cloud-bigquery/1.33.1/Timestamp)\n- [1.32.0](/php/docs/reference/cloud-bigquery/1.32.0/Timestamp)\n- [1.31.1](/php/docs/reference/cloud-bigquery/1.31.1/Timestamp)\n- [1.30.3](/php/docs/reference/cloud-bigquery/1.30.3/Timestamp)\n- [1.29.0](/php/docs/reference/cloud-bigquery/1.29.0/Timestamp)\n- [1.28.3](/php/docs/reference/cloud-bigquery/1.28.3/Timestamp)\n- [1.27.0](/php/docs/reference/cloud-bigquery/1.27.0/Timestamp)\n- [1.26.1](/php/docs/reference/cloud-bigquery/1.26.1/Timestamp)\n- [1.25.1](/php/docs/reference/cloud-bigquery/1.25.1/Timestamp)\n- [1.24.2](/php/docs/reference/cloud-bigquery/1.24.2/Timestamp)\n- [1.23.10](/php/docs/reference/cloud-bigquery/1.23.10/Timestamp) \nReference documentation and code samples for the BigQuery Client class Timestamp.\n\nRepresents a value with a data type of\n[Timestamp](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types#timestamp_type).\n\nExample: \n\n use Google\\Cloud\\BigQuery\\BigQueryClient;\n\n $bigQuery = new BigQueryClient();\n\n $timestamp = $bigQuery-\u003etimestamp(new \\DateTime('2003-02-05 11:15:02.421827Z'));\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ BigQuery\n\nMethods\n-------\n\n### __construct\n\n### get\n\nGet the underlying `\\DateTimeInterface` implementation.\n\n### type\n\nGet the type.\n\n### formatAsString\n\nFormat the value as a string.\n\n### __toString\n\nFormat the value as a string.\n\nConstants\n---------\n\n### FORMAT\n\n Value: 'Y-m-d H:i:s.uP'"]]