DateTimeRenderOption
इससे तय होता है कि आउटपुट में तारीखें किस तरह दिखाई जाएंगी.
Enums |
SERIAL_NUMBER |
यह {0}सीरियल नंबर" फ़ॉर्मैट में, डबल. रूप में आउटपुट पाने के लिए तारीख, समय, तारीख, और कुल समय वाले फ़ील्ड के बारे में निर्देश देता है, जो लोटस 1-2-3 के बीच लोकप्रिय है. वैल्यू के पूरे अंक वाले हिस्से (दशमलव के बाईं ओर) में, 30 दिसंबर, 1899 से अब तक दिनों की गिनती की जाती है. भिन्नात्मक भाग (दशमलव के दाएं) समय को दिन के भाग के रूप में गिनता है. उदाहरण के लिए, 1 जनवरी, 1900 को दोपहर 2.5 होगी, क्योंकि 30 दिसंबर, 1899 के बाद 2 दिन हैं और .5 दिन हैं, क्योंकि दोपहर का आधा दिन है. 1 फ़रवरी, 1900 को दोपहर 3 बजे, 33.625 होगा. इस वर्ष को 1900 में लीप वर्ष नहीं माना जाता. |
FORMATTED_STRING |
तारीख, समय, तारीख, और अवधि वाले फ़ील्ड को, संख्या के फ़ॉर्मैट (जो स्प्रेडशीट की स्थान-भाषा पर निर्भर करता है) में स्ट्रिंग के तौर पर आउटपुट करने का निर्देश देता है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-09-03 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-09-03 (UTC) को अपडेट किया गया."],[[["Controls the rendering of dates in output, offering two distinct methods: `SERIAL_NUMBER` and `FORMATTED_STRING`."],["`SERIAL_NUMBER` outputs dates as doubles, representing the number of days since December 30th, 1899, with the fractional portion indicating the time of day."],["`FORMATTED_STRING` outputs dates as strings, formatted according to the spreadsheet's locale settings."]]],["The content defines how dates, times, datetimes, and durations are output. `SERIAL_NUMBER` outputs these as doubles, with the whole number representing days since December 30th, 1899, and the fraction representing the time as a portion of the day. `FORMATTED_STRING` outputs these fields as strings based on the spreadsheet's locale-specific number format. Both enums define different formats for the given fields.\n"]]