# Date virtual table
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.
Field|Description
Period Type|Days, weeks, months, quarters, or years.
Period Start|The date of the first day in the period.
Period End|The date of the last day in the period.
Period No.|The number of the period.
Period Name|The name of the period.
For each period type, there are many records in the Date table.
The `Period End` field returns the closing date at the end of the period. See System.ClosingDate(Date) method<methods-auto/system/system-closingdate-method>.
You 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.
The date virtual table is most frequently used to provide a range of dates; the Receivables-Payables page in Business Central is a typical example.
You must create a list type page to access the Date virtual table. See devenv-page-object.
## Related information
devenv-virtual-tables
devenv-integer-virtual-table

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. https://jonas-paprotka.de/docs/dev-itpro/developer/devenv-date-virtual-table/
