/**

popular collection of scripts for all

*/
/** Search */

Date and Time

 }

Long Date And Time Format

Hits: 28
*****
0.0

Asp Date Validator

Hits: 23
*****
0.0

StrongCube Tools Component

Hits: 23
*****
0.0

LastMod

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


Date: Jun, 24 2003


Date: Nov, 09 1999


Date: Nov, 12 2001


Date: Jan, 25 2000
{ Copyright } ©2006 NuclearScripts.com