Technical References - [time]

Putting [time] in your template displays the current time set on your web server's clock.

numero = 33
interpreted = N
texte = The format of the time is normally HH:MM:SS (24-hour clock), but you can change the default format by changing the TimeFormat preference in your WebDNA admin area. You can also override the default time format by specifying a format inside the tag, such as [time %I:%M %p], which resolves to this style: 11:30 AM. Use these formats in the [time] tag, which can be combined with ordinary characters, such as the colon and space in the example above.
%H....: Hour 00-23%I....: Hour 01-12%M....: Minute 00-59%p....: AM or PM%S....: Seconds 00-59%X....: Time as 14:01:12
Mix and match:
[TIME %A, %I:%M %p] --> Friday, 10:30 AM[date %A, %I:%M %p] --> Friday, 10:30 AM
[time format=%I:%M %p] is the same thing as [time %I:%M %p]

See [date] for more information.

The format of the time is normally HH:MM:SS (24-hour clock), but you can change the default format by changing the TimeFormat preference in your WebDNA admin area. You can also override the default time format by specifying a format inside the tag, such as [time %I:%M %p], which resolves to this style: 11:30 AM.

Use these formats in the [time] tag, which can be combined with ordinary characters, such as the colon and space in the example above.
%H....: Hour 00-23
%I....: Hour 01-12
%M....: Minute 00-59
%p....: AM or PM
%S....: Seconds 00-59
%X....: Time as 14:01:12


Mix and match:

[TIME %A, %I:%M %p] --> Friday, 10:30 AM
[date %A, %I:%M %p] --> Friday, 10:30 AM


[time format=%I:%M %p] is the same thing as [time %I:%M %p]

See [date] for more information.

WebDNA Team

DOWNLOAD WEBDNA NOW!

Top Articles:

WebDNA Modules

A list of the currently available modules...

Tips and Tricks

A list of user-submitted tips ...

[biotype]

BioType is a behavioral biometrics WebDNA function based on ADGS research and development (from version 8...

Download WebDNA Applications

WebDNA applications...

WebDNA Libraries

A list of available libraries for WebDNA...

AWS Raw WebDNA LAMP-Plus WebServer

Amazon Web Services (AWS) README for Machine Image ID...

Related Readings:

[getchars]

Extracts a portion of the text (also known as substring or Mid$)...

[if]

This context displays HTML or executes WebDNA conditionally only if the expression is true...

[copyfolder]

Copy a folder and all its contenton your webspace...

[findstring]

[FindString Source=...

[search]

Use the [Search] context with [founditems] to easily retrieve records from your databases...

[sendmail]

There is hardly a website that doesn't at some point need to send an email...