Mailtraq - the Complete Email Server
   

Enstar for Mailtraq email server sales & support
Making world-class Internet technology affordable  

Search for:

Advanced search

FormatDate()

Creates a formatted output date string from a numerical input date, the number representing whole days since 1900.

text := FormatDate( format [ , datenum ] )

format
A string employing one of more of the display formats defined below
datenum
A number representing a date. If no date is specified Mailtraq assumes the current date
text
Formatted output date using the locale settings on the host machine

FormatDate("dddd, mmm d yyyy", date)

Display Formats

d Single digit day number (1-31)
dd Double digit day number (01-31)
ddd Three letter day abbreviation (Sun)
dddd Full length day name (Sunday)
m Single digit month number (1-12)
mm Double digit month number (01-12)
mmm Three letter month abbreviation (Jan)
mmmm Full length month name (January)
yy Two digit year (99)
yyyy Four digit year (1999)
/ Displays the date separator for the locale
'text' Text enclosed between single quotes is displayed literally
Mailtraq Highlights...
 SMTP Server     Mailtraq SMTP email server video IMAP Server     Mailtraq IMAP email Server video
 POP3 Server     Mailtraq POP3 email server video Proxy Server     Mailtraq proxy email server video
 Webmail Server     Mailtraq webmail email server video Mailing-list Server     Mailing list email server video
 Groupware Services     Mailtraq groupware email services video Spam and Virus control     Spam and virus control email server video

 

   Copyright © 2003 - 2011 Enstar Ltd, Enstar LLC & Fastraq Ltd. All rights reserved. Privacy policy.
   Mailtraq® is a registered trademark of Fastraq Limited.