Retrieving Date in ASP
        Posted  
        
            by user294510
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by user294510
        
        
        
        Published on 2010-03-16T06:12:53Z
        Indexed on 
            2010/03/16
            6:26 UTC
        
        
        Read the original article
        Hit count: 229
        
asp
I want to retrieve the moth from a date(in textbox),then
If that retrieved month is January ,some functions have to be added.
CurrDate =session("txtdateFrom")
CurrMonthID=session("txtdateTo")
CurrMonthName=MonthName("CurrMonthID")
iF CurrMonthName=January                      /* This portion have error */
/*   some functions  */
else if CurrMonthName= February
/*  some functions */
© Stack Overflow or respective owner