spacer
   
   
Mailtraq - the Complete Email Server
   
spacer

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

spacer
spacer

FormatTime()

Creates a formatted output time string from a numerical input time. The integer one represents 24 hours, therefore valid numerical times must be fractions, for example 0.5 represents 12:00 midday.

text := FormatTime( format [ , timenum ] )

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

FormatTime("hh:nn", time)

Display Formats

h Single digit hour (0-23)
hh Double digit hour (00-23)
n Single digit minutes (0-59)
nn Double digit minute (00-59)
s Single digit second (0-59)
ss Double digit second (00-59)
am/pm Displays "am" or "pm" using the local settings. The time is converted to 12 hour format
a/p Displays "a" or "p". The time is converted to 12 hour format
: Displays the time separator for the locale
'text' Text enclosed between single quotes is displayed literally
spacer


Download Trial
Buy now
Screenshots
Requirements
Feature Tree
FAQs
What's new
Print this page Print this Page
Mailtraq 2.12 PDF Datasheet
Send a friend an email about Mailtraq ShareMailtraq - Email Server at Delicious Mailtraq - Mail Server at digg Mailtraq - Mail Server at FacebookMailtraq - Email Server at stumbleupon Tweet about Mailtraq

 

 

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