تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
تحويل التاريخ إلى سلسلة
الاستخدام
المرتجعات
Date.format(format, timeZone)
سلسلة
الوسيطة
النوع
التفاصيل
هذا: date
التاريخ
format
سلسلة، القيمة التلقائية: null
نمط، كما هو موضح في http://joda-time.sourceforge.net/apidocs/org/joda/time/format/DateTimeFormat.html. في حال حذف هذا الحقل، سيتم استخدام تنسيق التاريخ المتوافق مع معيار ISO.
timeZone
سلسلة، القيمة التلقائية: null
المنطقة الزمنية (مثلاً 'America/Los_Angeles')، ويتم ضبطه تلقائيًا على التوقيت العالمي المتفق عليه.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","easyToUnderstand","thumb-up"],["ساعَدني المحتوى في حلّ مشكلتي.","solvedMyProblem","thumb-up"],["غير ذلك","otherUp","thumb-up"]],[["لا يحتوي على المعلومات التي أحتاج إليها.","missingTheInformationINeed","thumb-down"],["الخطوات معقدة للغاية / كثيرة جدًا.","tooComplicatedTooManySteps","thumb-down"],["المحتوى قديم.","outOfDate","thumb-down"],["ثمة مشكلة في الترجمة.","translationIssue","thumb-down"],["مشكلة في العيّنات / التعليمات البرمجية","samplesCodeIssue","thumb-down"],["غير ذلك","otherDown","thumb-down"]],["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["`ee.Date.format()` converts an Earth Engine `Date` object to a formatted string representation."],["The `format` argument uses Joda-Time formatting patterns for customization."],["The `timeZone` argument, if provided, adjusts the output to the specified time zone; defaults to UTC."],["If `format` is omitted, the ISO standard date formatting is used."],["Joda-Time formatting patterns provide flexible options to display various date and time components, including year, month, day, hour, minute, second, time zone, and more."]]],["The `Date.format()` method converts a date to a string. It accepts a `format` string based on Joda-Time patterns and an optional `timeZone` string; if these arguments are omitted, the function will use default ISO formatting and UTC timezone. The method takes a date as input, and outputs a string representing the date, with specific formatting and time zone adjustments. The document also shows how to apply the formatting patterns.\n"]]