--- title: "weekday()" slug: "date-week-day" updated: 2025-11-13T06:58:11Z published: 2025-11-14T02:46:26Z canonical: "docs.lobstersoftware.com/date-week-day" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # weekday() Liefert den Wochentag eines Datums oder Zeitstempels **a** in Form einer Zahl zurück. Dabei stehen die Zahlen für folgende Wochentage. | Wert | Wochentag | | --- | --- | | 0 | Sonntag. | | 1 | Montag. | | 2 | Dienstag. | | 3 | Mittwoch. | | 4 | Donnerstag. | | 5 | Freitag. | | 6 | Samstag. | ## Parameter | Parameter | Beschreibung | | --- | --- | | a | Datum/Zeitstempel. | ## Beispiele | Parameter a | Ergebnis | | --- | --- | | 2005-02-07 08:20:00 | 1 | | 2005-02-05 | 6 |