Web Hosting Offers
See the new scripts recently added to Dynamic Drive. Click here.
Original, practical CSS codes and examples such as CSS menus for your site.
 

Hot scripts

 
PHP scripts
ASP scripts scripts
ASP.NET scripts
C AND C++ scripts
CFML scripts
CGI AND PERL scripts
FLASH scripts
JAVA scripts
JAVASCRIPT scripts  
PYTHON scripts  
Remotely Hosted scripts
Tools and Utilities scripts   
XML scripts
Submit your script scripts
 
  SEARCH  
 
  Keyword
 
  In
 
 
   
 
  LOGIN HERE  
 
Username
Password
Signup Now
Add New Resource
Forgot Password
Verify Signup
 
GoDaddy.com Hosting & Servers
Please boomark our scripts directory:
  • Digg
  • Del.icio.us
  • Furl
  • My Yahoo
  •  
     
       Top >>ASP >> Tips and Tutorials >> Date and Time

    ASP/ Tips and Tutorials/ Date and Time Hot scripts::

    Presented here are a good collection of ASP/ Tips and Tutorials/ Date and Time Hot scripts. Enjoy!
     
    1. Converting normal Date into RFC-822 Format Date using ASP
    Have you ever wanted to format a date in your ASP pages (using VBScript) to conform with RFC-822? These are required for various things but in particular they are required format for dates in RSS feeds. While I was producing some RSS feeds I couldn't find any functions that converted ASP dates to the required formats so I created the following functions to do it for you
    Visitor Ratings (0) :  
    Member Ratings (0):
     
    2. Dates with the Ordinal Suffix
    This tutorial will show you how to display the current date with the ordinal suffix e.g. Wednesday 12th May
    Visitor Ratings (0) :  
    Member Ratings (0):
     
    3. JScript Examples : setDate Method
    Following example displays usage of setDate method in JScript. 'setDate methods sets the numeric date of the Date object using local time.
    Visitor Ratings (0) :  
    Member Ratings (0):
     
    4. VBScript Examples : DatePart Function
    DatePart function is a very useful function to get the a part of a date. You may get year, month, day of year .. etc. of a specific date.
    Visitor Ratings (0) :  
    Member Ratings (0):
     
    5. Formating Date and Time
    In this source code, you may see how can you display date in diffrent formats. This simple ASP code displays current time in short, long and regional settings.
    Visitor Ratings (0) :  
    Member Ratings (0):
     
    6. Returning Month of Date in an SQL Table
    This is an useful but not known functions. If you wish to learn month of date stored in a database, you may use this function placing in a 'SELECT' sql statement
    Visitor Ratings (0) :  
    Member Ratings (0):
     
    7. Using GetDate Function in an SQL Statement
    This function is very useful, if you wish to get date of current SQL server date and time. You may use this function to fill some rows automatically with current time or using with DateDiff function to return the number between current time.
    Visitor Ratings (0) :  
    Member Ratings (0):
     
    8. Using DateDiff function in SQL Statement
    You may use DateDiff function in an SQL statement to get the number of date and/or time between two dates. You may calculate days between two different date. The return number of DateDiff function can be year, month, day, hour, minute, second ....
    Visitor Ratings (0) :  
    Member Ratings (0):
     
    9. Time Formatting with Now()
    I will teach you how to use the Now() command and display it 24 times and all of them be different. Example: use the Now() command and get Monday, 1 July, 2003.
    Visitor Ratings (0) :  
    Member Ratings (0):
     
    10. Playing With Times
    There are several different ways of displaying times. Using FormatDateTime and DatePart functions we can manipulate the time in many different ways.
    Visitor Ratings (0) :  
    Member Ratings (0):
     
     Pages:        1