Date Time Format In VB.Net
Know More :
ASP.Net VB.Net
C#.Net
Sliverlight
XML
WPF
WCF
Ajax
The format function makes easy to format dates into strings, including times.Using format to display dates and times. As shown figure.

Copy and paste here ..
Thanks.
Know More :
ASP.Net VB.Net
C#.Net
Sliverlight
XML
WPF
WCF
Ajax
The format function makes easy to format dates into strings, including times.Using format to display dates and times. As shown figure.
Copy and paste here ..
Format Expression | Example |
Format(Now, "M-d-yy") | 1-1-10 |
Format(Now, "M/d/yy") | 1/1/10 |
Format(Now, "MM – dd – yy") | 01 – 01 – 10 |
Format(Now, "dddd,MMMM d,yyy") | Friday,January 1, 2010 |
Format(Now, "d MMM,yyy") | 1 Jan,2010 |
Format(Now, "hh:mm:ss MM/dd/yy") | 01:00:00 01/01/10 |
Format(Now, "hh:mm:ss tt MM-dd-yy") | 01:00:00 AM 01/01/10 |
Know More :
No comments