Logo Your Web Hosting Solution
Line
Blog Tutorial:
General
Blog Posts
User Comments
Archives
Categories
User Profile
Using Skins
Time And Date
Conditionals
Error Messages

Blog Software
Web Hosting
Tutorials Index
Blog Software Tutorial - Time and Date

These tags can be used on any blog page and display a date, time or calendar in the format of your choice.

Date Tag

The date tag and optional attributes are listed here.

<BL_Date>
format 
 wday of week (Monday, Tuesday...)
 mname of month (January, February...)
 nmonth number (01-12)
 dday of the month number (01-31)
 tday of the month number (1-31 - no leading 0)
 fverbose day of month (1st, 2nd...)
 yyear (four digits)
 stwo digit version of year (00-99)
monthmonth to be shown (absolute [1-12] or relative value)
dayday of the month (absolute [1-31] or relative value)
yearyear to be shown (absolute or relative value)

When used without any attributes, the current date is shown in the default format ("w, m f y").

To specify a relative value for month, day or year, use - to go back in time and + to advance. For example <BL_Date month="-1"> would show the date for the previous month.

Additional date related blog tags specific to posts, comments and profiles are also available. These are covered in the relevant tutorial sections.

Time Tag

The time tag and optional attributes are listed below.

<BL_Time>
format 
 hhour (01-23)
 lhour 1-12
 mminute 00-59
 sseconds 00-59
 pAM/PM
hourhour to be shown (0-23)
minuteminute to be shown (00-59)
secondsecond to be shown (00-59)

When used without any attributes, the current time is shown in the default format ("h:m:s").

Additional time related blog tags specific to posts and comments are available. These are covered in the relevant tutorial sections.

Calendar Tag

This tag will display a calendar, dates with posts will have links to posts for that date.

<BL_Calendar>
monthmonth for calendar (absolute [1-12] of relative value)
yearyear for calendar (absolute of relative value)
headercalendar table header color
daystable color for day of week row
frametable frame color
bodytable body color for days
fontfont color
linkspecify link color for links to posts
underlineunderline links (default=Yes)

If no attributes are specified, a calendar for the current month will be shown.

To specify a relative value for month or year, use - to go back in time and + to advance. For example <BL_Calendar month="-1"> would show a calendar for the previous month.

Top Of Page 
Line
Copyright© 1996 - 2017 Clockwatchers, Inc.