How to Add a Date Box to Your Website through cPanel

cPanel has a function called Counter where you can create a date box for your website. The date box will show the current date on the webpage where the code is inserted. The function can be accessed in the CGI Center in cPanel.

To create a date for your website, follow the instructions below:


  • On the homepage of your cPanel, click CGI Center under Softwares / Services.
  • Click on the Counter link.
  • Under Please select functionality, choose Date.

  • Under Please select Format, choose the date format. There are 6 format you can choose from including DDMMYY, MMDDYY, YYDDMM, DDYYMM, YYMMDD, and MMYYDD. The D refers to the date, M refers to the month and Y refers to the year.  An example of DDMMYY is 12 February 2005.
  • Under Please select Frame Color, enter the hexadecimal values for the frame color. You can also pick a color through the color selector provided by cPanel. After you have chosen a color, click on the x in the upper right corner of the color selector.
  • Under Please Select Style, click on the See Styles link to view the styles available for the clock. There are 33 styles which you can choose from. Enter the letter or number of the desired style for the date display. Not all styles will work with the date display.
  • Under Counter Name, enter a name for the date display. The name will be used by cPanel to save the clock that will display on your website.
  • The Color Replacer allows you replace all the colors in one instance. To replace a color, click on the multicolor tool box on the right of the source color. You can increase and decrease the value of a color by clicking on the “+” and “-”.
  • To preview the date box, click on the preview button. cPanel does not limit you the times which you can view the clock.
  • If you are satisfied with the preview, click on the html button.
  • The html code for the clock will appear. Copy the code beginning with <img src= and end with >.
  • After that, paste the code into the place where you want the hit counter to appear on a web page.

    If you follow the instructions above, you will be able to create a clock box for your website through cPanel.

    Filed Under: Computers & Technology


    About the Author: Justin Belden is a freelance web & graphic designer with over 15 years' experience. He is also an Avid member of the Design/Development community and a Serial Blogger who loves to help people by sharing interesting and informative tips and trick related to computer and technology.

    RSSComments (0)

    Trackback URL

    Comments are closed.