Format Date (classic) ASP

The following source code is an example how to format a given Date Object via FormatDateTime function.

'FormatDateTime ausgeben
Response.Write("<br>FormatDateTime: " & FormatDateTime(Date,vblongdate))

* vbGeneralDate 0 default
* vbLongDate  1 long
* vbShortDate 2 short
* vbLongTime  3 Time Format "hh:mm:ss"
* vbShortTime 4 Time Format(hh:mm) (24h)

Comments

There were no comments found for this weblog.

Du mußt Dich einloggen um diesen Weblog kommentieren zu können!