קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
קובעת איך תאריכים יוצגו בפלט.
טיפוסים בני מנייה (enum)
SERIAL_NUMBER
הפקודה מורה להציג את השדות date, time, datetime ו-duration כמספרים כפולים בפורמט 'מספר סידורי', כפי שהפך לפופולרי ב-Lotus 1-2-3. החלק של המספר השלם בערך (שמשמאל לנקודה העשרונית) כולל את מספר הימים מאז 30 בדצמבר 1899. החלק השברוני (שמשמאל לנקודה העשרונית) מתייחס לשעה כחלק מהיום. לדוגמה, 1 בינואר 1900 בשעה 12:00 יהיה 2.5, 2 כי זהו יום שני אחרי 30 בדצמבר 1899, ו-0 .5 כי השעה 12:00 היא חצי יום. 1 בפברואר 1900 בשעה 15:00 יהיה 33.625. כך המערכת מתייחסת בצורה נכונה לשנת 1900 כשנה שאינה מעוברת.
FORMATTED_STRING
הפונקציה מורה להציג את השדות 'תאריך', 'שעה', 'תאריך ושעה' ו'משך זמן' כמחרוזות בפורמט המספרים שלהם (הפורמט תלוי בשפה והאזור שמוגדרים לגיליון האלקטרוני).
[[["התוכן קל להבנה","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-03-21 (שעון UTC)."],[],[],null,["# DateTimeRenderOption\n\nDetermines how dates should be rendered in the output.\n\n| Enums ||\n|--------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `SERIAL_NUMBER` | Instructs date, time, datetime, and duration fields to be output as doubles in \"serial number\" format, as popularized by Lotus 1-2-3. The whole number portion of the value (left of the decimal) counts the days since December 30th 1899. The fractional portion (right of the decimal) counts the time as a fraction of the day. For example, January 1st 1900 at noon would be 2.5, 2 because it's 2 days after December 30th 1899, and .5 because noon is half a day. February 1st 1900 at 3pm would be 33.625. This correctly treats the year 1900 as not a leap year. |\n| `FORMATTED_STRING` | Instructs date, time, datetime, and duration fields to be output as strings in their given number format (which depends on the spreadsheet locale). |"]]