ASP ScriptingJava ScriptingCGI ScriptingHTMLJavaLanguage CERP Education Links

ASP FUNCTION

FormatCurrency(Expression [,NumDigitsAfterDecimal [,IncludeLeadingDigit [,UseParensForNegativeNumbers [,GroupDigits]]]])
Formats currency according to the settings of the server and the parameters given.

FormatNumber(Expression [,NumDigitsAfterDecimal [,IncludeLeadingDigit [,UseParensForNegativeNumbers [,GroupDigits]]]])
Formats numbers.

FormatDateTime(Date[,NamedFormat])
Formats dates and times.

FormatPercent(Expression [,NumDigitsAfterDecimal [,IncludeLeadingDigit [,UseParensForNegativeNumbers [,GroupDigits]]]])
Formats percentages.

Weekday(date[,firstdayofweek])
Returns the day of the week by number.

WeekdayName(weekday[,abbreviate[,firstdayofweek]])
Returns the day of the week by name.

DateDiff(interval,date1,date2[,firstdayofweek[,firstweekofyear]])
Returns the number of intervals between two dates. The interval argument accepts the following values:

Interval Description
yyyy Year
q Quarter
m Month
y Day of year
d Day
w Weekday
ww Week of year
h Hour
n Minute
s Second

date1="01.01.2001"
date2="01.02.2001"
DateDiff("d",date1,date2) -> 31

MonthName(month[,abbreviate])
Returns the month represented by the name.

 


Your Ad Here
Not All Of Your Subscribers Use RSS - AWeber Email Marketing
Your Ad Here
Your Ad Here
Not All Of Your Subscribers Use RSS - AWeber Email Marketing
Your Ad Here