יש בלבול נפוץ לגבי "פורמט הצגה" של תאריכים וה"פורמט אחסון" של תאריכים במסד הנתונים. אנחנו יכולים למצוא הרבה שאלות בפורומים בנושא "פורמט אחסון" של תאריכים, שהם למעשה קשורים ל"פורמט בו מוצגים" תאריכים,
ביישום כלשהו.
לדוגמא שאלות כמו: אני מקבל את השגיאה "DateTime data type resulted in
an out-of-range value", או שאלות כמו: "איך אני יכול לשנות את פורמט טור DateTime באתר".
בקישור למטה יש הסבר על המושגים השונים תוך התמקדות בסוג DateTime. מוצגים פתרונות בסיסיים לבעיות נפוצות והדרך הנכונה לעבוד עם תאריכים כשרוצים לשלוף אותם ממד הנתונים, לעדכן אותם, או להכניס נתונים חדשים.
There is a common confusion regarding "displaying format" and "storing format" of dates types. We can find lot of questions in the forums regarding "storing format" of dates, which are actually regarding the "displaying format",
in external application.
For example questions like: I am getting the error “DateTime data type resulted in an out-of-range value”, or questions like: “how can I change the DateTime column format in the database”.