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