WordPress.org

Ready to get started?Download WordPress

Codex

Function Reference/is date

Contents

Description

Test to see if the page is a date based archive page. Similar to is_category()

Usage

<?php is_date(); ?>

Parameters

Return Values

(boolean) 
True on success, false on failure.

Examples

Notes

Change Log

Since: 1.5.0

Source File

is_date() is located in wp-includes/functions.php.

Related

See also index of Function Reference and index of Template Tags.