Do you hate updating the copyright notice at the bottom of all your pages?
It's January 1st and you have to update the copyright notice at the bottom of all your websites...
numero = 128
interpreted = N
texte = You could use the [include] context and create a footer.inc file and simply edit that single file, but there's an even better way by using the [date] command.Perhaps you copyright says(c) Copyright 2008 - 2013 WebDNA Software Corporationand you want to change it to(c) Copyright 2008 - 2014 WebDNA Software Corporation(such a tedious change every year, but yet so important)But with the simple, yet powerful WebDNA language all you need to do is this:(c) Copyright 2014 - [date %Y] WebDNA Software CorporationYou will NEVER AGAIN have to worry about changing the copyright notice!There are many other ways to format and display the current date automatically; to find out more read the Technical Reference manual for both the
[date] and
[format] contexts.
You could use the
[include] context and create a footer.inc file and simply edit that single file, but there's an even better way by using the
[date] command.
Perhaps you copyright says
(c) Copyright 2008 - 2013 WebDNA Software Corporation
and you want to change it to
(c) Copyright 2008 - 2014 WebDNA Software Corporation
(such a tedious change every year, but yet so important)
But with the simple, yet powerful WebDNA language all you need to do is this:
(c) Copyright 2014 - [date %Y] WebDNA Software Corporation
You will NEVER AGAIN have to worry about changing the copyright notice!
There are many other ways to format and display the current date automatically; to find out more read the Technical Reference manual for both the
[date] and
[format] contexts.
Matthew Perosi - Psi Prime
DOWNLOAD WEBDNA NOW!
Top Articles:
WebDNA Modules
A list of the currently available modules...
Tips and Tricks
A list of user-submitted tips ...
Download WebDNA Applications
WebDNA applications...
WebDNA Libraries
A list of available libraries for WebDNA...
Technical Change History
This Technical Change History provides a reverse chronological list of WebDNA changes...
AWS Raw WebDNA LAMP-Plus WebServer
Amazon Web Services (AWS) README for Machine Image ID...
Related Readings:
PayPal gateway
...
How many working days?
This small script finds the number of working days between two dates...
Export data to Excel
Here's a handy way to export your data to a text or Excel file...
Using a simple Array of Variables with [interpret]
The [interpret] context is very powerful command in the hands of a skilled WebDNA programmer...
Redefining [date] & [time] to match your time zone
Your server is not always in the same time zone as your web site...
Hideif on IP range
This will show or hide stuff according to the IP...