[[["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,["# Google Apps Chat V1 Client - Class DateTimePickerType (0.12.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.12.0 (latest)](/php/docs/reference/apps-chat/latest/Card.V1.DateTimePicker.DateTimePickerType)\n- [0.11.2](/php/docs/reference/apps-chat/0.11.2/Card.V1.DateTimePicker.DateTimePickerType)\n- [0.10.0](/php/docs/reference/apps-chat/0.10.0/Card.V1.DateTimePicker.DateTimePickerType)\n- [0.9.0](/php/docs/reference/apps-chat/0.9.0/Card.V1.DateTimePicker.DateTimePickerType)\n- [0.8.1](/php/docs/reference/apps-chat/0.8.1/Card.V1.DateTimePicker.DateTimePickerType)\n- [0.7.2](/php/docs/reference/apps-chat/0.7.2/Card.V1.DateTimePicker.DateTimePickerType)\n- [0.6.1](/php/docs/reference/apps-chat/0.6.1/Card.V1.DateTimePicker.DateTimePickerType)\n- [0.5.0](/php/docs/reference/apps-chat/0.5.0/Card.V1.DateTimePicker.DateTimePickerType)\n- [0.4.0](/php/docs/reference/apps-chat/0.4.0/Card.V1.DateTimePicker.DateTimePickerType)\n- [0.3.0](/php/docs/reference/apps-chat/0.3.0/Card.V1.DateTimePicker.DateTimePickerType)\n- [0.2.0](/php/docs/reference/apps-chat/0.2.0/Card.V1.DateTimePicker.DateTimePickerType)\n- [0.1.4](/php/docs/reference/apps-chat/0.1.4/Card.V1.DateTimePicker.DateTimePickerType) \nReference documentation and code samples for the Google Apps Chat V1 Client class DateTimePickerType.\n\nThe format for the date and time in the `DateTimePicker` widget.\n\nDetermines whether users can input a date, a time, or both a date and time.\n[Google Workspace Add-ons and Chat\napps](https://developers.google.com/workspace/extend):\n\nProtobuf type `google.apps.card.v1.DateTimePicker.DateTimePickerType`\n\nNamespace\n---------\n\nGoogle \\\\ Apps \\\\ Card \\\\ V1 \\\\ DateTimePicker\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### DATE_AND_TIME\n\n Value: 0\n\nUsers input a date and time.\n\nGenerated from protobuf enum `DATE_AND_TIME = 0;`\n\n### DATE_ONLY\n\n Value: 1\n\nUsers input a date.\n\nGenerated from protobuf enum `DATE_ONLY = 1;`\n\n### TIME_ONLY\n\n Value: 2\n\nUsers input a time.\n\nGenerated from protobuf enum `TIME_ONLY = 2;`"]]