ASP ScriptingJava ScriptingCGI ScriptingHTMLJavaLanguage CERP Education Links

ASP SCRIPTING

Date Function

     The component returns the day of the week ( Sunday, Monday, etc. ) for any date you pass it. Remote scripting components are COM components, so you must register them before you can use them from an ASP script.

<xml Version="1.0">
<component>
<component error="true" debug="true">
<registration description="DateFunctions" progid="DateFunctions.WeekDayName"
version="1.00" classid="{af9e4dc0-489a-11d3-b0f0-204c4f4f5020}" >
</registration>
<implements type="Automation" 
  id="Automation">
<method name="getWeekDayName">
<PARAMETER name="aDate">
</method>
</implements> 
<script language="VBScript">
<![CDATA[
function getWeekDayName(aDate)
getWeekDayName = WeekdayName(Weekday(Date)) 
end function ]]>
</script>
</component>

 


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