Dynamicweb 8 Documentation
Dates Class Methods


For a list of all members of this type, see Dates members.

Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)AddZeroAdds preceding '0' for digits below '10'  
Public Methodstatic (Shared in Visual Basic)DateSelectOverloaded. Returns a set of drop downs for date and time selection.  
Public Methodstatic (Shared in Visual Basic)DWDateOverloaded. Returns system date in this format: "yyyy-mm-dd"  
Public Methodstatic (Shared in Visual Basic)DWDateLongReturns input date and time in the format: "yyyy-mm-dd tt:mm:ss"  
Public Methodstatic (Shared in Visual Basic)DWDateLongCleanReturns input date in this format: "yyyymmddttmmss"  
Public Methodstatic (Shared in Visual Basic)DWNowOverloaded. Returns system date and time in the format: "yyyy-mm-dd hh:mm"  
Public Methodstatic (Shared in Visual Basic)GetDayNameReturns long or medium length name of weekday  
Public Methodstatic (Shared in Visual Basic)GetMonthNameReturns long or medium length name of month  
Public Methodstatic (Shared in Visual Basic)GetWeeknumberReturns the number of the week based on the current culture of the thread.  
Public Methodstatic (Shared in Visual Basic)LongDayReturns long name of day.  
Public Methodstatic (Shared in Visual Basic)LongMonthReturns long name of month  
Public Methodstatic (Shared in Visual Basic)MaxDateReturns the maximum DateTime value accepted by a system.  
Public Methodstatic (Shared in Visual Basic)MedDayReturns medium length name of day  
Public Methodstatic (Shared in Visual Basic)MedMonthReturns medium length name of month  
Public Methodstatic (Shared in Visual Basic)ParseAsDateReturns date and time from drop downs created with DateSelect  
Public Methodstatic (Shared in Visual Basic)ParseDateReturns date and time from drop downs created with DateSelect  
Public Methodstatic (Shared in Visual Basic)RoundHourRounds an hour to e.g. 02:00.  
Public Methodstatic (Shared in Visual Basic)RoundMinutesRounds minutes to e.g. 00:07.  
Public Methodstatic (Shared in Visual Basic)ShowDateOverloaded. Shows a date in chosen format.  
Public Methodstatic (Shared in Visual Basic)ToDateConvert string to Date. Convertation is performed using yyyy-M-d H:m or yyyy-M-d format. if it fails, return value is result of applying CDate function to the argument. If it also fails, return value is DateTime.Now  
Top
See Also

Reference

Dates Class
Dynamicweb Namespace

Send Feedback