[{"data":1,"prerenderedAt":466},["ShallowReactive",2],{"page-\u002Futils\u002Fapi\u002Ffunctions\u002FtoCalendarDate":3,"navigation":79},{"collection":4,"page":5},"docs_en",{"id":6,"title":7,"body":8,"description":69,"extension":70,"meta":71,"navigation":73,"path":74,"rawbody":75,"seo":76,"stem":77,"__hash__":78},"docs_en\u002Futils\u002Fapi\u002Ffunctions\u002FtoCalendarDate.md","toCalendarDate",{"type":9,"value":10,"toc":60},"minimark",[11,29,40,45,48,52,56],[12,13,14],"blockquote",{},[15,16,17,20,21,25,26],"p",{},[18,19,7],"strong",{},"(",[22,23,24],"code",{},"date","): ",[22,27,28],{},"string",[15,30,31,32,35,36,39],{},"Formats a ",[22,33,34],{},"Date"," as a .well calendar date (",[22,37,38],{},"YYYY-MM-DD",") from its local\ncomponents — never through UTC, which could shift the day.",[41,42,44],"h2",{"id":43},"parameters","Parameters",[46,47,24],"h3",{"id":24},[15,49,50],{},[22,51,34],{},[41,53,55],{"id":54},"returns","Returns",[15,57,58],{},[22,59,28],{},{"title":61,"searchDepth":62,"depth":62,"links":63},"",2,[64,68],{"id":43,"depth":62,"text":44,"children":65},[66],{"id":24,"depth":67,"text":24},3,{"id":54,"depth":62,"text":55},"Formats a Date as a .well calendar date (YYYY-MM-DD) from its local components — never through UTC, which could shift the day.","md",{"generated":72},true,false,"\u002Futils\u002Fapi\u002Ffunctions\u002FtoCalendarDate","---\npath: \"\u002Futils\u002Fapi\u002Ffunctions\u002FtoCalendarDate\"\ntitle: toCalendarDate\ndescription: \"Formats a Date as a .well calendar date (YYYY-MM-DD) from its local components — never through UTC, which could shift the day.\"\ngenerated: true\nnavigation: false\n---\n\n> **toCalendarDate**(`date`): `string`\n\nFormats a `Date` as a .well calendar date (`YYYY-MM-DD`) from its local\ncomponents — never through UTC, which could shift the day.\n\n## Parameters\n\n### date\n\n`Date`\n\n## Returns\n\n`string`\n",{"title":7,"description":69},"utils\u002Fapi\u002Ffunctions\u002FtoCalendarDate","torpyGHDIQfRpnJBJn4cZv3nWXff5-sCIU5daS40kGA",{"docs_en":80,"spec":397,"changelogs":447},[81,101,120,175,285,339],{"title":82,"path":83,"stem":84,"children":85},"Ai","\u002Fai","ai",[86,89,93,97],{"title":87,"path":83,"stem":88},"Introduction","ai\u002Findex",{"title":90,"path":91,"stem":92},"Converting reports with an assistant","\u002Fai\u002Fconversion-skill","ai\u002Fconversion-skill",{"title":94,"path":95,"stem":96},"llms.txt and Markdown pages","\u002Fai\u002Fllms","ai\u002Fllms",{"title":98,"path":99,"stem":100},"MCP server","\u002Fai\u002Fmcp","ai\u002Fmcp",{"title":102,"path":103,"stem":104,"children":105},"Contributing","\u002Fcontributing","contributing",[106,108,112,116],{"title":87,"path":103,"stem":107},"contributing\u002Findex",{"title":109,"path":110,"stem":111},"Writing docs","\u002Fcontributing\u002Fwriting-docs","contributing\u002F1.writing-docs",{"title":113,"path":114,"stem":115},"Update rules","\u002Fcontributing\u002Fupdate-rules","contributing\u002F2.update-rules",{"title":117,"path":118,"stem":119},"Content components","\u002Fcontributing\u002Fcomponents","contributing\u002Fcomponents",{"title":121,"path":122,"stem":123,"children":124},"Core","\u002Fcore","core",[125,127,140,169],{"title":87,"path":122,"stem":126},"core\u002Findex",{"title":128,"path":129,"stem":130,"children":131,"page":73},"Getting Started","\u002Fcore\u002Fgetting-started","core\u002F1.getting-started",[132,136],{"title":133,"path":134,"stem":135},"Installation","\u002Fcore\u002Fgetting-started\u002Finstallation","core\u002F1.getting-started\u002F1.installation",{"title":137,"path":138,"stem":139},"First use","\u002Fcore\u002Fgetting-started\u002Ffirst-use","core\u002F1.getting-started\u002F2.first-use",{"title":141,"path":142,"stem":143,"children":144,"page":73},"Guides","\u002Fcore\u002Fguides","core\u002F2.guides",[145,149,153,157,161,165],{"title":146,"path":147,"stem":148},"Parsing and validating","\u002Fcore\u002Fguides\u002Fparsing-and-validating","core\u002F2.guides\u002F1.parsing-and-validating",{"title":150,"path":151,"stem":152},"Serializing and sharing","\u002Fcore\u002Fguides\u002Fserializing-and-sharing","core\u002F2.guides\u002F2.serializing-and-sharing",{"title":154,"path":155,"stem":156},"Unit conversion","\u002Fcore\u002Fguides\u002Funit-conversion","core\u002F2.guides\u002F3.unit-conversion",{"title":158,"path":159,"stem":160},"Vocabularies and textures","\u002Fcore\u002Fguides\u002Fvocabularies-and-textures","core\u002F2.guides\u002F4.vocabularies-and-textures",{"title":162,"path":163,"stem":164},"Water quality vocabulary","\u002Fcore\u002Fguides\u002Fwater-quality-vocabulary","core\u002F2.guides\u002F5.water-quality-vocabulary",{"title":166,"path":167,"stem":168},"Versions and time zones","\u002Fcore\u002Fguides\u002Fversions-and-time-zones","core\u002F2.guides\u002F6.versions-and-time-zones",{"title":170,"path":171,"stem":172,"children":173},"API reference","\u002Fcore\u002Fapi","core\u002Fapi\u002Findex",[174],{"title":170,"path":171,"stem":172},{"title":176,"path":177,"stem":178,"children":179},"Format","\u002Fformat","format",[180,182,202,231,255,275,281],{"title":87,"path":177,"stem":181},"format\u002Findex",{"title":128,"path":183,"stem":184,"children":185,"page":73},"\u002Fformat\u002Fgetting-started","format\u002F1.getting-started",[186,190,194,198],{"title":187,"path":188,"stem":189},"What is .well?","\u002Fformat\u002Fgetting-started\u002Fwhat-is-well","format\u002F1.getting-started\u002F1.what-is-well",{"title":191,"path":192,"stem":193},"For geologists","\u002Fformat\u002Fgetting-started\u002Ffor-geologists","format\u002F1.getting-started\u002F2.for-geologists",{"title":195,"path":196,"stem":197},"For developers","\u002Fformat\u002Fgetting-started\u002Ffor-developers","format\u002F1.getting-started\u002F3.for-developers",{"title":199,"path":200,"stem":201},"Your first .well file","\u002Fformat\u002Fgetting-started\u002Ffirst-well-file","format\u002F1.getting-started\u002F4.first-well-file",{"title":203,"path":204,"stem":205,"children":206,"page":73},"Concepts","\u002Fformat\u002Fconcepts","format\u002F2.concepts",[207,211,215,219,223,227],{"title":208,"path":209,"stem":210},"Depths and intervals","\u002Fformat\u002Fconcepts\u002Fdepths-and-intervals","format\u002F2.concepts\u002F1.depths-and-intervals",{"title":212,"path":213,"stem":214},"Units and precision","\u002Fformat\u002Fconcepts\u002Funits-and-precision","format\u002F2.concepts\u002F2.units-and-precision",{"title":216,"path":217,"stem":218},"Vocabularies","\u002Fformat\u002Fconcepts\u002Fvocabularies","format\u002F2.concepts\u002F3.vocabularies",{"title":220,"path":221,"stem":222},"Profiles","\u002Fformat\u002Fconcepts\u002Fprofiles","format\u002F2.concepts\u002F4.profiles",{"title":224,"path":225,"stem":226},"Versions and deprecation","\u002Fformat\u002Fconcepts\u002Fversions-and-deprecation","format\u002F2.concepts\u002F5.versions-and-deprecation",{"title":228,"path":229,"stem":230},"Extensibility","\u002Fformat\u002Fconcepts\u002Fextensibility","format\u002F2.concepts\u002F6.extensibility",{"title":141,"path":232,"stem":233,"children":234,"page":73},"\u002Fformat\u002Fguides","format\u002F3.guides",[235,239,243,247,251],{"title":236,"path":237,"stem":238},"Writing a .well by hand","\u002Fformat\u002Fguides\u002Fwriting-by-hand","format\u002F3.guides\u002F1.writing-by-hand",{"title":240,"path":241,"stem":242},"Converting a report","\u002Fformat\u002Fguides\u002Fconverting-a-report","format\u002F3.guides\u002F2.converting-a-report",{"title":244,"path":245,"stem":246},"Validating","\u002Fformat\u002Fguides\u002Fvalidating","format\u002F3.guides\u002F3.validating",{"title":248,"path":249,"stem":250},"Extending for your own needs","\u002Fformat\u002Fguides\u002Fextending","format\u002F3.guides\u002F4.extending",{"title":252,"path":253,"stem":254},"Building an editor or database on .well","\u002Fformat\u002Fguides\u002Fbuilding-on-well","format\u002F3.guides\u002F5.building-on-well",{"title":256,"path":257,"stem":258,"children":259},"Overview","\u002Fformat\u002Freference","format\u002F4.reference\u002Findex",[260,261,265,269],{"title":256,"path":257,"stem":258},{"title":262,"path":263,"stem":264},"JSON Schema","\u002Fformat\u002Freference\u002Fjson-schema","format\u002F4.reference\u002F1.json-schema",{"title":266,"path":267,"stem":268},"Example wells","\u002Fformat\u002Freference\u002Fexamples","format\u002F4.reference\u002F2.examples",{"title":270,"path":271,"stem":272,"children":273},"Object reference","\u002Fformat\u002Freference\u002Fobjects","format\u002Freference\u002Fobjects\u002Findex",[274],{"title":270,"path":271,"stem":272},{"title":276,"path":277,"stem":278,"children":279},"About the spec","\u002Fformat\u002Fspec","format\u002F5.spec\u002Findex",[280],{"title":276,"path":277,"stem":278},{"title":282,"path":283,"stem":284},"Changelog","\u002Fformat\u002Fchangelog","format\u002F6.changelog",{"title":286,"path":287,"stem":288,"children":289},"Render","\u002Frender","render",[290,292,302,334],{"title":87,"path":287,"stem":291},"render\u002Findex",{"title":128,"path":293,"stem":294,"children":295,"page":73},"\u002Frender\u002Fgetting-started","render\u002F1.getting-started",[296,299],{"title":133,"path":297,"stem":298},"\u002Frender\u002Fgetting-started\u002Finstallation","render\u002F1.getting-started\u002F1.installation",{"title":137,"path":300,"stem":301},"\u002Frender\u002Fgetting-started\u002Ffirst-use","render\u002F1.getting-started\u002F2.first-use",{"title":141,"path":303,"stem":304,"children":305,"page":73},"\u002Frender\u002Fguides","render\u002F2.guides",[306,310,314,318,322,326,330],{"title":307,"path":308,"stem":309},"Panels and layout","\u002Frender\u002Fguides\u002Fpanels-and-layout","render\u002F2.guides\u002F1.panels-and-layout",{"title":311,"path":312,"stem":313},"Layers and labels","\u002Frender\u002Fguides\u002Flayers-and-labels","render\u002F2.guides\u002F2.layers-and-labels",{"title":315,"path":316,"stem":317},"Theming","\u002Frender\u002Fguides\u002Ftheming","render\u002F2.guides\u002F3.theming",{"title":319,"path":320,"stem":321},"Locale and units","\u002Frender\u002Fguides\u002Flocale-and-units","render\u002F2.guides\u002F4.locale-and-units",{"title":323,"path":324,"stem":325},"Legends","\u002Frender\u002Fguides\u002Flegends","render\u002F2.guides\u002F5.legends",{"title":327,"path":328,"stem":329},"Zoom, pan and highlights","\u002Frender\u002Fguides\u002Finteraction","render\u002F2.guides\u002F6.interaction",{"title":331,"path":332,"stem":333},"Using it in a framework","\u002Frender\u002Fguides\u002Fframeworks","render\u002F2.guides\u002F7.frameworks",{"title":170,"path":335,"stem":336,"children":337},"\u002Frender\u002Fapi","render\u002Fapi\u002Findex",[338],{"title":170,"path":335,"stem":336},{"title":340,"path":341,"stem":342,"children":343},"Utils","\u002Futils","utils",[344,346,356,392],{"title":87,"path":341,"stem":345},"utils\u002Findex",{"title":128,"path":347,"stem":348,"children":349,"page":73},"\u002Futils\u002Fgetting-started","utils\u002F1.getting-started",[350,353],{"title":133,"path":351,"stem":352},"\u002Futils\u002Fgetting-started\u002Finstallation","utils\u002F1.getting-started\u002F1.installation",{"title":137,"path":354,"stem":355},"\u002Futils\u002Fgetting-started\u002Ffirst-use","utils\u002F1.getting-started\u002F2.first-use",{"title":141,"path":357,"stem":358,"children":359,"page":73},"\u002Futils\u002Fguides","utils\u002F2.guides",[360,364,368,372,376,380,384,388],{"title":361,"path":362,"stem":363},"Geometry and volumes","\u002Futils\u002Fguides\u002Fgeometry-and-volumes","utils\u002F2.guides\u002F1.geometry-and-volumes",{"title":365,"path":366,"stem":367},"Water levels and pumping tests","\u002Futils\u002Fguides\u002Fpumping-tests","utils\u002F2.guides\u002F2.pumping-tests",{"title":369,"path":370,"stem":371},"Permits","\u002Futils\u002Fguides\u002Fpermits","utils\u002F2.guides\u002F3.permits",{"title":373,"path":374,"stem":375},"Operation and production","\u002Futils\u002Fguides\u002Foperation","utils\u002F2.guides\u002F4.operation",{"title":377,"path":378,"stem":379},"Water quality","\u002Futils\u002Fguides\u002Fwater-quality","utils\u002F2.guides\u002F5.water-quality",{"title":381,"path":382,"stem":383},"Logger import","\u002Futils\u002Fguides\u002Flogger-import","utils\u002F2.guides\u002F6.logger-import",{"title":385,"path":386,"stem":387},"SIAGAS import","\u002Futils\u002Fguides\u002Fsiagas-import","utils\u002F2.guides\u002F7.siagas-import",{"title":389,"path":390,"stem":391},"Formatting","\u002Futils\u002Fguides\u002Fformatting","utils\u002F2.guides\u002F8.formatting",{"title":170,"path":393,"stem":394,"children":395},"\u002Futils\u002Fapi","utils\u002Fapi\u002Findex",[396],{"title":170,"path":393,"stem":394},[398],{"title":176,"path":177,"stem":178,"children":399,"page":73},[400],{"title":401,"path":277,"stem":402,"children":403,"page":73},"Spec","format\u002Fspec",[404,413,422],{"title":405,"path":406,"stem":407,"children":408,"page":73},"Reference","\u002Fformat\u002Fspec\u002Freference","format\u002Fspec\u002Freference",[409],{"title":410,"path":411,"stem":412},"FGDC Texture Patterns Reference","\u002Fformat\u002Fspec\u002Freference\u002Ffgdc-textures","format\u002Fspec\u002Freference\u002Ffgdc-textures",{"title":414,"path":415,"stem":416,"children":417,"page":73},"V1","\u002Fformat\u002Fspec\u002Fv1","format\u002Fspec\u002Fv1",[418],{"title":419,"path":420,"stem":421},".well File Format Specification","\u002Fformat\u002Fspec\u002Fv1\u002Fwell-format","format\u002Fspec\u002Fv1\u002Fwell-format",{"title":423,"path":424,"stem":425,"children":426,"page":73},"V2","\u002Fformat\u002Fspec\u002Fv2","format\u002Fspec\u002Fv2",[427,431,435,439,443],{"title":428,"path":429,"stem":430},".well File Format Specification — Version 2.4: Format Reference","\u002Fformat\u002Fspec\u002Fv2\u002Fformat-reference","format\u002Fspec\u002Fv2\u002Fformat-reference",{"title":432,"path":433,"stem":434},".well File Format Specification — Version 2.4: Interoperability","\u002Fformat\u002Fspec\u002Fv2\u002Finteroperability","format\u002Fspec\u002Fv2\u002Finteroperability",{"title":436,"path":437,"stem":438},".well File Format Specification — Version 2.4: Object Schemas","\u002Fformat\u002Fspec\u002Fv2\u002Fobject-schemas","format\u002Fspec\u002Fv2\u002Fobject-schemas",{"title":440,"path":441,"stem":442},".well File Format Specification — Version 2.4: Overview","\u002Fformat\u002Fspec\u002Fv2\u002Foverview","format\u002Fspec\u002Fv2\u002Foverview",{"title":444,"path":445,"stem":446},".well File Format Specification — Version 2.4: Water Quality","\u002Fformat\u002Fspec\u002Fv2\u002Fwater-quality","format\u002Fspec\u002Fv2\u002Fwater-quality",[448,454,460],{"title":121,"path":122,"stem":123,"children":449,"page":73},[450],{"title":451,"path":452,"stem":453},"@welldot\u002Fcore","\u002Fcore\u002Fchangelog","core\u002FCHANGELOG",{"title":286,"path":287,"stem":288,"children":455,"page":73},[456],{"title":457,"path":458,"stem":459},"@welldot\u002Frender","\u002Frender\u002Fchangelog","render\u002FCHANGELOG",{"title":340,"path":341,"stem":342,"children":461,"page":73},[462],{"title":463,"path":464,"stem":465},"@welldot\u002Futils","\u002Futils\u002Fchangelog","utils\u002FCHANGELOG",1793050503003]