1and1 Help Centre Categories

print article

How do I display the date/time with a CGI?

Step 1
Log in to the 1&1 Control Panel using your Customer ID OR domain name and your password.

If you have only one package, you will land on the Administration page. If you have more than one package, select the package in question to reach its Administration page.
Package overview
Package overview

Step 2
Click the Hosting panel's title from the 1&1 Control Panel start page.
Step 3
Click the Miscellaneous button to expand the section.

launch1.png
Step 4
Click the Basic CGIs link.

launch2.png
Step 5
Click the Create button.

launch3.png
Step 6
Select Date/Time from the CGI Type drop-down box and supply a name for the project. When you are finished, click the Next button.

date1.png
Step 7
The link for the Date/Time will be shown at the top. If you wish to change the style of the Date/Time, you can make changes in the design section. Click the Refresh Preview button to update the preview with your style changes. When complete, click the OK button.

date2.png
Step 8
The code and preview are shown to you once again. You can now highlight the code and then copy/paste it into a web page where you want the Date/Time so be seen.

date3.png