|
DateToHTTPDate and DateFromHTTP functions (source). Enables conversion between OLE datetime (8byte VARIANT-DATE) and http datetime (plain text). Useful for If-Modified-Since and Last-Modified headers.
See alsofor 'How to convert http date to OLE(VB/VBS) date.' article Work with If-Modified-Since and Last-Modified in ASP.Net.Short support vb.Net functions to convert date from/to http string date and sample code to send files with 304 http codeHow to use OnStartPage/OnEndPage methods in VBUsing OnStartPage/OnEndPage methods in VB How to convert DATE to a HTTP string date in ASPASP (VBS) function converting DATE data type to http string date (like Fri, 22 Oct 1999 12:08:38 GMT). Copyright and use this code
The source code on this page and other samples at https://www.motobit.com/tips/
are a free code, you can use it as you want: copy it, modify it, use it in your products, ...
If you use this code, please:
1. Leave the author note in the source.
or
2. Link this sample from you page.
<A Href="https://www.motobit.com/tips/detpg_DateFromHTTP/" Title="ASP (VBS) function converting http string date (like Fri, 22 Oct 1999 12:08:38 GMT) to DATE data type." >How to convert http date to OLE(VB/VBS) date.</A> Do you like it? Rate me on LinkedIn |
© 1996 - 2019 Antonin Foller, Motobit Software | About, Contacts