Project | WXT | Basics | Download | Documentation | Samples

PI: date

The purpose of a date is to produce today or any other date in selected form and locale.

<?_wxt date form="" country=""?>

The parameters are:

form (optional) The possibilities are: short, medium, long, full. Default is medium.
country (optional) The possibilities are the standard 2-char code. no, en etc. Default is users locale.
actualdate (optional) The date to display, default is today. The form is: yyyy:mm:dd.

Styleclass(es) describing this PI is: wxtdate. See distributed std styles.

Examples:

<div>
<?_wxt date form="full"  actualdate="2008:12:24" country="no"?>
</div>