Meta tags:
description= Learn how to use Apps Script Class DateField. A date field in a Contact.;
Headings (most frequently used words):
authorization, return, parameters, methods, deprecated, setlabel, label, setdate, month, day, class, datefield, stay, organized, with, collections, save, and, categorize, content, based, on, your, preferences, page, summary, detailed, documentation, getlabel, deletedatefield, getday, getmonth, getyear, year, google, workspace, for, developers, tools, connect, throws,
Text of the page (most frequently used words):
the (72), #google (65), this (47), api (44), overview (40), date (40), field (38), for (36), services (29), advanced (27), label (26), classes (26), month (25), contacts (23), script (22), birthday (22), day (21), enums (21), apps (20), and (19), deprecated (19), authorization (18), contactsapp (18), const (18), john (18), doe (18), scripts (17), method (15), year (15), get (15), more (14), that (14), use (12), with (12), contact (12), set (11), sets (11), used (11), console (10), workspace (10), require (10), return (10), service (9), content (9), https (9), www (9), com (9), feeds (9), one (9), following (9), scopes (9), new (9), getcontactsbyname (9), drive (9), thumb (8), should (8), gets (8), cloud (7), youtube (7), admin (7), support (7), type (7), getdates (7), function (7), not (7), integer (7), datefield (7), sheets (7), resource (7), developer (6), samples (6), description (6), dates (6), class (6), chat (6), calendar (6), library (6), all (5), blog (5), down (5), logger (5), methods (5), addressfields (5), add (5), ons (5), gmail (5), client (5), data (5), color (5), interfaces (5), groups (5), español (4), products (4), developers (4), code (4), useful (4), chaining (4), standard (4), name (4), parameters (4), anniversary (4), april (4), log (4), logs (4), object (4), people (4), card (4), tasks (4), slides (4), docs (4), classroom (4), list (4), resources (4), textstyle (4), side (4), manager (4), analytics (4), twitter (3), newsletter (3), apis (3), explorer (3), dashboard (3), tools (3), release (3), notes (3), under (3), tag (3), other (3), page (3), are (3), license (3), such (3), only (3), fields (3), javascript (3), instead (3), deletes (3), delete (3), has (3), reference (3), home (3), meet (3), forms (3), core (3), create (3), projects (3), contenttype (3), listitem (3), triggers (3), group (3), datasource (3), 한국어 (2), 日本語 (2), ภาษาไทย (2), বাংলা (2), हिंदी (2), فارسی (2), العربيّة (2), עברית (2), русский (2), türkçe (2), tiếng (2), việt (2), português (2), brasil (2), polski (2), italiano (2), indonesia (2), français (2), américa (2), latina (2), deutsch (2), english (2), terms (2), platform (2), your (2), information (2), need (2), too (2), last (2), updated (2), 2025 (2), utc (2), licensed (2), java (2), its (2), send (2), feedback (2), setlabel (2), firstdate (2), first (2), labels (2), 1980 (2), setdate (2), without (2), objects (2), length (2), let (2), string (2), apartment (2), getaddresses (2), can (2), similarly (2), called (2), any (2), address (2), associated (2), extendedfield (2), brief (2), app (2), previews (2), updates (2), codelabs (2), how (2), started (2), training (2), builder (2), marketplace (2), extend (2), automate (2), share (2), vault (2), sites (2), keep (2), search (2), browser (2), libraries (2), file (2), run (2), manifest (2), visibility (2), verticalalignment (2), updatedraftbodytype (2), status (2), openas (2), onclose (2), horizontalalignment (2), composedemailtype (2), updatedrafttorecipientsaction (2), updatedraftsubjectaction (2), updatedraftccrecipientsaction (2), updatedraftbodyaction (2), updatedraftbccrecipientsaction (2), updatedraftactionresponsebuilder (2), updatedraftactionresponse (2), universalactionresponsebuilder (2), universalactionresponse (2), trigger (2), textinput (2), openlink (2), notification (2), navigation (2), linkpreview (2), image (2), griditem (2), editorfilescopeactionresponsebuilder (2), editorfilescopeactionresponse (2), driveitemsselectedactionresponsebuilder (2), driveitemsselectedactionresponse (2), composeactionresponsebuilder (2), composeactionresponse (2), calendareventactionresponsebuilder (2), calendareventactionresponse (2), buttonset (2), button (2), borderstyle (2), attachment (2), actionresponsebuilder (2), actionresponse (2), action (2), link (2), events (2), eventtype (2), properties (2), lock (2), cache (2), user (2), mimetype (2), url (2), html (2), position (2), textstylebuilder (2), charts (2), text (2), format (2), element (2), document (2), attribute (2), utilities (2), optimization (2), jdbc (2), bigquery (2), tables (2), shopping (2), merchant (2), reporting (2), doubleclick (2), video (2), adsense (2), vertex (2), maps (2), migrate (2), from (2), themecolortype (2), textdirection (2), themecolor (2), tablerow (2), tablecell (2), table (2), selection (2), paragraph (2), connected (2), range (2), namedrange (2), guides (2), manage, cookies, privacy, firebase, chrome, android, connect, watch, tutorials, videos, explore, our, copy, them, build, own, ask, question, stack, overflow, read, easy, understand, easytounderstand, solved, problem, solvedmyproblem, otherup, missing, missingtheinformationineed, complicated, many, steps, toocomplicatedtoomanysteps, out, outofdate, issue, samplescodeissue, otherdown, tell, except, otherwise, noted, details, see, registered, trademark, oracle, affiliates, site, policies, apache, creative, commons, attribution, retrieves, requires, error, throws, applies, don, birthdays, getyear, getmonth, getday, note, returns, week, deletedatefield, getlabel, may, detailed, documentation, void, elsewhere, most, including, those, getting, setting, deleting, outside, represent, outlined_flag, summary, save, categorize, based, preferences, stay, organized, collections, ruby, python, php, node, net, nullvalue, localizedmessage, executionresponse, executionerror, executestreamresponse, types, versions, update, deployments, updatecontent, getmetrics, getcontent, listscriptprocesses, processes, rest, homepagetrigger, editors, addons, entrypointtype, entrypointfeature, conferenceerrortype, entrypoint, conferenceparameter, conferenceerror, conferencedatabuilder, conferencedata, conferencedataservice, conferencing, wrapstyle, workflowdatasourcetype, variablebuttonsize, textinputmode, textbuttonstyle, switchcontroltype, selectioninputtype, responsetype, loadindicator, interaction, inputtype, imagestyle, imagecroptype, imagebuttonstyle, icon, horizontalsizestyle, griditemlayout, expressiondataconditiontype, expressiondataactiontype, driveitemtype, displaystyle, commondatasource, chiplistlayout, bordertype, workflowdatasource, widget, validation, updatedwidget, updatevisibilityaction, timepicker, textparagraph, textbutton, switch, suggestionsresponsebuilder, suggestionsresponse, suggestions, selectioninput, platformdatasource, overflowmenuitem, overflowmenu, materialicon, keyvalue, imagecropstyle, imagecomponent, imagebutton, iconimage, hostappdatasource, grid, fixedfooter, expressiondatacondition, expressiondataaction, expressiondata, eventaction, drivedatasourcespec, divider, dialogaction, dialog, decoratedtext, datetimepicker, datepicker, datasourceconfig, condition, commonwidgetaction, columns, column, collapsecontrol, chiplist, chip, chatspacedatasource, chatresponsebuilder, chatresponse, chatclientdatasource, chatactionresponse, carouselcard, carousel, cardwithid, cardsection, cardheader, cardbuilder, cardaction, authorizationexception, authorizationaction, actionstatus, cardservice, validationerrorseverity, sendstatus, listtype, fontweight, errorretryability, erroractionability, endnavigation, basicdatatype, addoncomposeuiactiontype, workflowvalidationerroraction, workflowtextformat, workflowaction, variabledata, valuemetadata, updatewidget, updatemessageaction, updateinlinepreviewaction, timestamp, textformaticon, textformatelement, textformatchip, styledtext, saveworkflowaction, returnoutputvariablesaction, returnelementerroraction, resourcetype, resourceretrievedaction, resourcefieldsdefinitionretrievedaction, resourcefield, resourcedata, renderactionbuilder, renderaction, removewidget, removesection, modifycard, listcontainer, insertwidget, insertsection, hyperlink, hostappaction, dynamicresourcedefinition, datatype, dataactionsresponse, createmessageaction, chatmessage, chatdataactionsresponsebuilder, addoncomposeuiactionresponsebuilder, addoncomposeuiactionresponse, accessorywidget, addonsresponseservice, response, quotas, limits, allowlist, urls, macros, web, executables, event, installable, simple, automation, project, triggersource, installationsource, authorizationstatus, authmode, triggerbuilder, statetokenbuilder, spreadsheettriggerbuilder, formtriggerbuilder, documenttriggerbuilder, clocktriggerbuilder, calendartriggerbuilder, authorizationinfo, scriptapp, userproperties, scriptproperties, propertiesservice, lockservice, cacheservice, weekday, colortype, blobsource, rgbcolor, promptresponse, menu, blob, session, base, execution, mailapp, mail, xframeoptionsmode, sandboxmode, htmltemplate, htmloutputmetatag, htmloutput, htmlservice, host, history, textoutput, contentservice, pointstyle, pickervalueslayout, orientation, matchtype, curvestyle, columntype, charttype, chartmergestrategy, charthiddendimensionstrategy, datatablesource, tablechartbuilder, stringfilterbuilder, scatterchartbuilder, piechartbuilder, numberrangefilterbuilder, linechartbuilder, dataviewdefinitionbuilder, dataviewdefinition, datatablebuilder, datatable, columnchartbuilder, chartoptions, chart, barchartbuilder, areachartbuilder, processinginstruction, namespace, entityref, doctype, comment, cdata, xmlservice, xml, rsaalgorithm, macalgorithm, digestalgorithm, charset, variabletype, linearoptimizationsolution, linearoptimizationengine, linearoptimizationconstraint, linearoptimizationservice, usability, httpresponse, urlfetchapp, fetch, jdbctimestamp, jdbctime, jdbcstruct, jdbcstatement, jdbcsavepoint, jdbcsqlxml, jdbcrowid, jdbcresultsetmetadata, jdbcresultset, jdbcref, jdbcpreparedstatement, jdbcparametermetadata, jdbcdate, jdbcdatabasemetadata, jdbcconnection, jdbcclob, jdbccallablestatement, jdbcblob, jdbcarray, database, connections, utility, fieldtype, bigqueryparametertype, authtype, aggregationtype, usererror, textarea, setcredentialsresponse, selectsingle, selectmultiple, optionbuilder, info, getschemaresponse, getdataresponse, getauthtyperesponse, debugerror, config, communityconnector, checkbox, bigqueryconfig, datastudioapp, studio, dcm, dfa, trafficking, campaigns, dbm, bid, dv360, display, 360, management, ads, center, languageapp, translate, mode, markersize, avoid, staticmapenums, staticmap, geocoder, elevationsampler, directionfinderenums, directionfinder, sensitivity, priority, gender, urlfield, phonefield, imfield, emailfield, customfield, contactgroup, companyfield, addressfield, identity, role, groupsapp, videosourcetype, textbaselineoffset, spacingmode, slideposition, slidelinkingmode, sheetschartembedtype, shapetype, selectiontype, predefinedlayout, placeholdertype, paragraphalignment, pagetype, pageelementtype, pagebackgroundtype, listpreset, linktype, linetype, linefilltype, linecategory, filltype, dashstyle, contentalignment, cellmergestate, autofittype, autotexttype, arrowstyle, alignmentposition, wordart, textrange, tablecolumn, tablecellrange, speakerspotlight, solidfill, slide, sheetschart, shape, presentation, point, picturefill, paragraphstyle, pagerange, pageelementrange, pageelement, pagebackground, notespage, notesmaster, master, liststyle, linefill, line, layout, fill, connectionsite, colorscheme, border, autofit, autotext, affinetransformbuilder, affinetransform, slidesapp, wrapstrategy, valuetype, texttocolumnsdelimiter, sortorder, sheettype, relativedate, recalculationinterval, protectiontype, pivotvaluedisplaytype, pivottablesummarizefunction, interpolationtype, groupcontroltoggleposition, frequencytype, direction, dimension, developermetadatavisibility, developermetadatalocationtype, datetimegroupingruletype, datavalidationcriteria, datasourcetype, datasourcerefreshscope, datasourceparametertype, dataexecutionstate, dataexecutionerrorcode, copypastetype, booleancriteria, bandingtheme, autofillseries, textrotation, textfinder, spreadsheettheme, spreadsheet, sortspec, slicer, sheet, richtextvaluebuilder, richtextvalue, rangelist, protection, pivotvalue, pivottable, pivotgrouplimit, pivotgroup, pivotfilter, pageprotection, overgridimage, gradientcondition, filtercriteriabuilder, filtercriteria, filter, embeddedtablechartbuilder, embeddedscatterchartbuilder, embeddedpiechartbuilder, embeddedlinechartbuilder, embeddedhistogramchartbuilder, embeddedcombochartbuilder, embeddedcolumnchartbuilder, embeddedchartbuilder, embeddedchart, embeddedbarchartbuilder, embeddedareachartbuilder, drawing, developermetadatalocation, developermetadatafinder, developermetadata, datetimegroupingrule, datavalidationbuilder, datavalidation, datasourcetablefilter, datasourcetablecolumn, datasourcetable, datasourcespecbuilder, datasourcespec, datasourcesheetfilter, datasourcesheet, datasourcerefreshschedulefrequency, datasourcerefreshschedule, datasourcepivottable, datasourceparameter, datasourceformula, datasourcecolumn, datasourcechart, lookerdatasourcespecbuilder, lookerdatasourcespec, dataexecutionstatus, bigquerydatasourcespecbuilder, bigquerydatasourcespec, containerinfo, conditionalformatrulebuilder, conditionalformatrule, colorbuilder, cellimagebuilder, cellimage, booleancondition, banding, spreadsheetapp, gmailthread, gmailmessage, gmaillabel, gmaildraft, gmailattachment, gmailapp, ratingicontype, pagenavigationtype, itemtype, feedbacktype, destinationtype, alignment, item, videoitem, timeitem, textvalidationbuilder, textvalidation, textitem, sectionheaderitem, scaleitem, ratingitem, quizfeedbackbuilder, quizfeedback, paragraphtextvalidationbuilder, paragraphtextvalidation, paragraphtextitem, pagebreakitem, multiplechoiceitem, itemresponse, imageitem, gridvalidationbuilder, gridvalidation, formresponse, form, durationitem, datetimeitem, dateitem, choice, checkboxvalidationbuilder, checkboxvalidation, checkboxitem, checkboxgridvalidationbuilder, checkboxgridvalidation, checkboxgriditem, formapp, activity, permission, access, folderiterator, folder, fileiterator, driveapp, textalignment, tabtype, positionedlayout, paragraphheading, glyphtype, fontfamily, elementtype, unsupportedelement, tableofcontents, tab, richlink, rangeelement, rangebuilder, positionedimage, person, pagebreak, inlineimage, inlinedrawing, horizontalrule, headersection, footnotesection, footnote, footersection, equationsymbol, equationfunctionargumentseparator, equationfunction, equation, documenttab, containerelement, bookmark, body, documentapp, gueststatus, eventtransparency, eventcolor, recurrencerule, eventrecurrence, eventguest, calendareventseries, calendarevent, calendarapp, reports, reseller, settings, migration, enterprise, directory, sign, skip, main,
Text of the page (random words):
hemecolortype valuetype wrapstrategy advanced services sheets api slides overview slidesapp classes affinetransform affinetransformbuilder autotext autofit border color colorscheme connectionsite fill group image layout line linefill link list liststyle master notesmaster notespage page pagebackground pageelement pageelementrange pagerange paragraph paragraphstyle picturefill point presentation selection shape sheetschart slide solidfill speakerspotlight table tablecell tablecellrange tablecolumn tablerow textrange textstyle themecolor video wordart enums alignmentposition arrowstyle autotexttype autofittype cellmergestate contentalignment dashstyle filltype linecategory linefilltype linetype linktype listpreset pagebackgroundtype pageelementtype pagetype paragraphalignment placeholdertype predefinedlayout selectiontype shapetype sheetschartembedtype slidelinkingmode slideposition spacingmode textbaselineoffset textdirection themecolortype videosourcetype advanced services slides api workspace advanced services events api more classroom advanced services classroom api groups overview groupsapp classes group enums role advanced services cloud identity groups api migrate from groups service people advanced services people api migrate from contacts service contacts overview contactsapp classes addressfield companyfield contact contactgroup customfield datefield emailfield imfield phonefield urlfield enums extendedfield field gender priority sensitivity tasks advanced services tasks api other google services google analytics advanced services analytics data api analytics admin api google maps overview maps classes directionfinder directionfinderenums elevationsampler geocoder staticmap staticmapenums enums avoid color format markersize mode type google translate overview languageapp vertex ai advanced services vertex ai api youtube advanced services youtube data api youtube analytics api youtube content id api more google ads merchant center adsense advanced services adsense management api display video 360 advanced services dv360 api doubleclick bid manager advanced services dbm reporting api doubleclick campaigns advanced services dcm dfa reporting and trafficking api shopping content advanced services merchant api google content api for shopping google data studio overview datastudioapp classes bigqueryconfig checkbox communityconnector config debugerror field fields getauthtyperesponse getdataresponse getschemaresponse info optionbuilder selectmultiple selectsingle setcredentialsresponse textarea textinput usererror enums aggregationtype authtype bigqueryparametertype fieldtype google tables advanced services tables api google tag manager advanced services tag manager api utility services api database connections bigquery advanced services bigquery api jdbc overview jdbc classes jdbcarray jdbcblob jdbccallablestatement jdbcclob jdbcconnection jdbcdatabasemetadata jdbcdate jdbcparametermetadata jdbcpreparedstatement jdbcref jdbcresultset jdbcresultsetmetadata jdbcrowid jdbcsqlxml jdbcsavepoint jdbcstatement jdbcstruct jdbctime jdbctimestamp url fetch overview urlfetchapp classes httpresponse data usability optimization optimization overview linearoptimizationservice classes linearoptimizationconstraint linearoptimizationengine linearoptimizationsolution enums status variabletype utilities overview utilities enums charset digestalgorithm macalgorithm rsaalgorithm xml overview xmlservice classes attribute cdata comment doctype document element entityref format namespace processinginstruction text interfaces content enums contenttype html content charts overview charts classes areachartbuilder barchartbuilder chart chartoptions columnchartbuilder datatable datatablebuilder dataviewdefinition dataviewdefinitionbuilder linechartbuilder numberrangefilterbuilder piechartbuilder scatterchartbuilder stringfilterbuilder tablechartbuilder textstyle textstylebuilder interfaces datatablesource enums charthiddendimensionstrategy chartmergestrategy charttype columntype curvestyle matchtype orientation pickervalueslayout pointstyle position content overview contentservice classes textoutput enums mimetype html overview google script history client side google script host client side google script run client side google script url client side htmlservice classes htmloutput htmloutputmetatag htmltemplate enums sandboxmode xframeoptionsmode mail overview mailapp script execution information base overview browser logger mimetype session console classes blob menu promptresponse rgbcolor ui user interfaces blobsource enums button buttonset colortype month weekday cache overview cacheservice classes cache lock overview lockservice classes lock properties overview propertiesservice scriptproperties userproperties classes properties script overview scriptapp classes authorizationinfo calendartriggerbuilder clocktriggerbuilder documenttriggerbuilder formtriggerbuilder service spreadsheettriggerbuilder statetokenbuilder trigger triggerbuilder enums authmode authorizationstatus eventtype installationsource triggersource script project resources automation triggers and events simple triggers installable triggers event objects manifest overview libraries advanced services web apps and api executables sheets macros allowlist urls quotas limits google workspace add ons services add ons response overview addonsresponseservice classes accessorywidget action actionresponse actionresponsebuilder addoncomposeuiactionresponse addoncomposeuiactionresponsebuilder attachment calendareventactionresponse calendareventactionresponsebuilder chatdataactionsresponsebuilder chatmessage color composeactionresponse composeactionresponsebuilder createmessageaction dataactionsresponse datatype driveitemsselectedactionresponse driveitemsselectedactionresponsebuilder dynamicresourcedefinition editorfilescopeactionresponse editorfilescopeactionresponsebuilder hostappaction hyperlink insertsection insertwidget link linkpreview listcontainer listitem modifycard navigation notification openlink removesection removewidget renderaction renderactionbuilder resourcedata resourcefield resourcefieldsdefinitionretrievedaction resourceretrievedaction resourcetype returnelementerroraction returnoutputvariablesaction saveworkflowaction styledtext textformatchip textformatelement textformaticon timestamp universalactionresponse universalactionresponsebuilder updatedraftactionresponse updatedraftactionresponsebuilder updatedraftbccrecipientsaction updatedraftbodyaction updatedraftccrecipientsaction updatedraftsubjectaction updatedrafttorecipientsaction updateinlinepreviewaction updatemessageaction updatewidget valuemetadata variabledata workflowaction workflowtextformat workflowvalidationerroraction enums addoncomposeuiactiontype basicdatatype composedemailtype contenttype endnavigation erroractionability errorretryability fontweight listtype onclose openas sendstatus textstyle updatedraftbodytype validationerrorseverity card overview cardservice classes action actionresponse actionresponsebuilder actionstatus attachment authorizationaction authorizationexception borderstyle button buttonset calendareventactionresponse calendareventactionresponsebuilder card cardaction cardbuilder cardheader cardsection cardwithid carousel carouselcard chatactionresponse chatclientdatasource chatresponse chatresponsebuilder chatspacedatasource chip chiplist collapsecontrol column columns commonwidgetaction composeactionresponse composeactionresponsebuilder condition datasourceconfig datepicker datetimepicker decoratedtext dialog dialogaction divider drivedatasourcespec driveitemsselectedactionresponse driveitemsselectedactionresponsebuilder editorfilescopeactionresponse editorfilescopeactionresponsebuilder eventaction expressiondata expressiondataaction expressiondatacondition fixedfooter grid griditem hostappdatasource iconimage image imagebutton imagecomponent imagecropstyle keyvalue linkpreview materialicon navigation notification openlink overflowmenu overflowmenuitem platformdatasource selectioninput suggestions suggestionsresponse suggestionsresponsebuilder switch textbutton textinput textparagraph timepicker trigger universalactionresponse universalactionresponsebuilder updatedraftactionresponse updatedraftactionresponsebuilder updatedraftbccrecipientsaction updatedraftbodyaction updatedraftccrecipientsaction updatedraftsubjectaction updatedrafttorecipientsaction updatevisibilityaction updatedwidget validation widget workflowdatasource enums bordertype chiplistlayout commondatasource composedemailtype contenttype displaystyle driveitemtype expressiondataactiontype expressiondataconditiontype griditemlayout horizontalalignment horizontalsizestyle icon imagebuttonstyle imagecroptype imagestyle inputtype interaction loadindicator onclose openas responsetype selectioninputtype status switchcontroltype textbuttonstyle textinputmode updatedraftbodytype variablebuttonsize verticalalignment visibility workflowdatasourcetype wrapstyle conferencing data overview conferencedataservice classes conferencedata conferencedatabuilder conferenceerror conferenceparameter entrypoint enums conferenceerrortype entrypointfeature entrypointtype manifest addons resource calendar resource drive resource gmail resource editors resource meet resource homepagetrigger resource add ons api apps script api v1 overview rest resources processes overview list listscriptprocesses projects overview create get getcontent getmetrics updatecontent projects deployments overview create delete get list update projects versions overview create get list scripts overview run types executestreamresponse executionerror executionresponse file localizedmessage nullvalue client libraries browser go java core library api library net core library api library node js php python core library api library ruby google workspace apps admin console cloud search gmail google calendar google chat google classroom google docs google drive google forms google keep google meet google sheets google sites google slides google tasks google vault extend automate share add ons apps script chat apps drive apps marketplace tools admin console apps script dashboard google cloud console apis explorer card builder training support how to get started codelabs developer support updates release notes developer previews youtube newsletter x twitter blog home google workspace apps script reference send feedback class datefield stay organized with collections save and categorize content based on your preferences page summary outlined_flag datefield is a deprecated class used only by the contacts service to represent a date field in a contact instead of datefield the people api advanced service should be used dates in app script outside the contacts service use javascript s standard date object the datefield class has methods to get and set its label most methods of the datefield class are deprecated including those for getting and setting the day month and year and for deleting the date field date field deprecated instead use the people api advanced service a date field in a contact this class is only used by the contacts service and dates used elsewhere in app script use javascript s standard date object methods method return type brief description get label object gets the label for this field set label label date field sets the label of this field deprecated methods method return type brief description delete date field void deletes this date get day integer gets the day of the month for this date get month month gets the month for this date get year integer gets the year for this date set date month day date field sets the date to this day without a year set date month day year date field sets the date to this day set label label date field sets the label of this field such as birthday or anniversary detailed documentation get label gets the label for this field this may be a field extendedfield or a string logs the label for all the address fields associated with contact john doe this method can be similarly called for any field that has a label const contacts contactsapp getcontactsbyname john doe const addressfields contacts 0 getaddresses for let i 0 i addressfields length i logger log addressfields i getlabel return object the label for this field authorization scripts that use this method require authorization with one or more of the following scopes https www google com m8 feeds set label label sets the label of this field sets the label to apartment for the first address field associated with contact john doe this method can be similarly called for any field that has a label const contacts contactsapp getcontactsbyname john doe const addressfields contacts 0 getaddresses addressfields 0 setlabel apartment parameters name type description label string the new label for this field return date field this field useful for chaining authorization scripts that use this method require authorization with one or more of the following scopes https www google com m8 feeds deprecated methods delete date field deprecated this function is deprecated and should not be used in new scripts deletes this date deletes all the dates that are set for contact john doe const contacts contactsapp getcontactsbyname john doe const dates contacts 0 getdates for let i 0 i dates length i dates i deletedatefield authorization scripts that use this method require authorization with one or more of the following scopes https www google com m8 feeds get day deprecated this function is deprecated and should not be used in new scripts gets the day of the month for this date note for standard javascript date objects the get day method returns the day of the week instead logs the day of the birthday for contact john doe const contacts contactsapp getcontactsbyname john doe const birthday contacts 0 getdates contactsapp field birthday 0 logger log birthday getday return integer the day of the month authorization scripts that use this method require authorization with one or more of the following scopes https www google com m8 feeds get month deprecated this function is deprecated and should not be used in new scripts gets the month for this date logs the month of the birthday for contact john doe const contacts contactsapp getcontactsbyname john doe const birthday contacts 0 getdates contactsapp field birthday 0 logger log birthday getmonth return month the month authorization scripts that use this method require authorization with one or more of the following scopes https www google com m8 feeds get year deprecated this function is deprecated and should not be used in new scripts gets the year for this date logs the year of the birthday for contact john doe const contacts contactsapp getcontactsbyname john doe const birthday contacts 0 getdates contactsapp field birthday 0 logger log birthday getyear return integer the year authorization scripts that use this method require authorization with one...
|