Duyuru: 15 Nisan 2025'ten önce Earth Engine'i kullanmak için kaydedilen tüm ticari olmayan projelerin Earth Engine erişimini sürdürmek için ticari olmayan uygunluğu doğrulaması gerekir.
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Tarihi dizeye dönüştürme.
Kullanım
İadeler
Date.format(format, timeZone)
Dize
Bağımsız Değişken
Tür
Ayrıntılar
bu: date
Tarih
format
Dize, varsayılan: null
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/DateTimeFormat.html adresinde açıklandığı gibi bir kalıp. Boş bırakılırsa ISO standart tarih biçimlendirmesi kullanılır.
timeZone
Dize, varsayılan: null
Saat dilimi (ör. "America/Los_Angeles"); varsayılan olarak UTC kullanılır.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-07-26 UTC."],[[["`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"]]