Re: DateTime Function


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by jim guerber on July 15, 2012 at 12:01:30:

In Reply to: DateTime Function posted by Neil Badger on July 14, 2012 at 16:03:01:

I suppose you are referring to the function found using the link below...

This is a very flexible function that allow the formatting of any string you want which contains elements of today's date and time. The % acts as an escape character with following character(s) designating which parts of the current date/time to output into the output string. All other characters in the input string are copied to the output string exactly as they are presented.

for example:

a$ = DateTime('This is the %dth of %B, and it is a %A.')

would set a$ to 'This is the 15th of July, and it is a Sunday.'

Write a little test program for yourself and try various combinations.




Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]