{"title":"Date virtual table","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/devenv-date-virtual-table/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-date-virtual-table, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-date-virtual-table","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"The date virtual table in AL for Dynamics 365 Business Central","date":"2025-01-08","meta":{"topic":"article"},"outline":[{"level":2,"title":"Related information","slug":"related-information","at":1062,"chars":73}],"text":"The Date virtual table (ID 2000000007) gives you easy access to days, weeks, months, quarters, and years. The Date virtual table contains the following fields.\nField|Description\nPeriod Type|Days, weeks, months, quarters, or years.\nPeriod Start|The date of the first day in the period.\nPeriod End|The date of the last day in the period.\nPeriod No.|The number of the period.\nPeriod Name|The name of the period.\nFor each period type, there are many records in the Date table.\nThe `Period End` field returns the closing date at the end of the period. See System.ClosingDate(Date) method<methods-auto/system/system-closingdate-method>.\nYou can apply filters to the `Period Type`, `Period Start`, and `Period End` fields to easily get a subset or range of days, weeks, months, quarters, or years to use in your pages or reports.\nThe date virtual table is most frequently used to provide a range of dates; the Receivables-Payables page in Business Central is a typical example.\nYou must create a list type page to access the Date virtual table. See devenv-page-object.\n## Related information\ndevenv-virtual-tables\ndevenv-integer-virtual-table"}