The Open Source Swiss Army Knife

/code/vbscript/
/code/vbscript/ + sub-categories
http://www.sirfsup.com/
web directory content
    
      

Not logged in
Chat Register Login
return to:  http:/www.sirfsup.com      /code   /vbscript 
Permalink: datefunction.txt
Title: add
article options : please login   |  raw source view  

Function JXIsoDate(dteDate)
'Version 1.0

If IsDate(dteDate) = True Then

      DIM dteDay, dteMonth, dteYear
      dteDay = Day(dteDate)
      dteMonth = Month(dteDate)
      dteYear   = Year(dteDate)
      JXIsoDate = dteYear & _
         "-" & Right(Cstr(dteMonth + 100),2) & _
         "-" & Right(Cstr(dteDay + 100),2)
   Else
      JXIsoDate = Null

End If
End Function


Leave a Reply
Your Name:     anonymous
Your Email:
Website:  
Comments:

The author will be notified of your reply.
return to top