The Following code will print
This script contains two
StrongCube Tools Component
ECS DateTime is a server-side
out the date so that it's in
functions (Leap Year
helps you to format your
component that can be used
a long date format including
Capable): First will check
number and date/time into VB
to access NTP Servers. It
the appropriate suffix - i.e
to validate a date value
style formatting routine.
can be implemented on ASP
st, nd, rd. Here's the
passed as a parameters.
You can easily format your
pages or from any other COM
code in action: Thursday
Second will check to
number into #,##0.00 or your
enabled environment.
12th May 2005
validate two dates entered
date/time into dd/mm/yyyy.
and compare/check first
occurs before the second.
Functions will return a
blank string if the Date(s)
is/are valid. They will
retun a string containing an
error message if Date(s)
is/are NOT valid. You could
pass the field name as
parameter to generate a
custom Error message for the
field you are checking or
pass a blank string as a
field name to generate a
generic error message.
Date: May, 12 2005 Date: Feb, 26 2005 Date: Dec, 29 2003 Date: Jun, 24 2003 |
Based around the
This is a stop-clock
One of the things missing
Using this component you can
functionality of the PHP
component for ASP. It has an
from the current version of
perform date and time
date() function, it returns
average accuracy of 5 milli
ASP is the ability to
get
formatting, calculate
date and time information in
seconds. You could use it
the date/time a file was
elapsed time, pause your ASP
a format based upon
for timing your code, speed
LastModified. Sometimes it
application, GMT date and
arguments it is fed.
comparisons, etc.
is useful to report the
time formating and much more.
Essentially, it takes one
date/time the ASP file was
date string/object and
last physically modified.
transforms it to a different
This component is designed
format. The ASP
to provide that information.
FormatDateTime function is
extremely limited. This
provides an alternative
which gives you far greater
control over how the date is
returned.
Date: Nov, 12 2001 Date: Jan, 25 2000 Date: Jan, 04 2000 Date: Nov, 09 1999 |