با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
نسبت طول یک واحد را به طول واحد دیگر برمیگرداند، به عنوان مثال، واحد نسبت('روز'، 'دقیقه') 1440 برمیگرداند. واحدهای معتبر 'سال'، 'ماه'، 'هفته'، 'روز'، 'ساعت'، 'دقیقه' و 'دوم' هستند.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","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-24 بهوقت ساعت هماهنگ جهانی."],[[["`ee.Date.unitRatio()` calculates the length ratio between two time units, such as days and minutes."],["Valid time units for this function include 'year', 'month', 'week', 'day', 'hour', 'minute', and 'second'."],["The function takes two string arguments: the numerator unit and the denominator unit, and returns a float representing the ratio."],["Example: `ee.Date.unitRatio('day', 'minute')` would return 1440, indicating there are 1440 minutes in a day."]]],["The `unitRatio` function calculates the ratio between two time units. It accepts two string arguments: `numerator` and `denominator`, representing the desired units. Valid time units include 'year', 'month', 'week', 'day', 'hour', 'minute', and 'second'. The function returns a float value representing the ratio of the numerator to the denominator (e.g., how many minutes are in a day). Examples are provided in JavaScript and Python demonstrating various unit conversions.\n"]]