BW: Boltwire Projects > Page Format Basics > Using Math

Using Math

You can use the math functions to keep your web page dates up to date with references to dates for example..

For example, if something happened in 1984, and you want to refer to it in your page, you could use something like:

It has been [(math '{(time {now} "%Y")} - 1984' )] years since we did this.
It has been 26 years since we did this.

Main Sections:

Other TNET Sites:


Contents © 2010 TNET Services, Inc. - All rights reserved.
You are a member of the guest groups
Page Creation by TNET using Boltwire v3.4.11 Hosting by TNET - Server Temps (189F/167F/106.2F)
IP: 38.107.191.103 [No rDNS] - Views #44