moiseszaragoza
02-09-2009, 02:35 PM
I have a simple question to ask.
i am trying to format a date but i get "02/09/2009"
and i want "Feb/09/2009"
how do i do this
Thanks
Partial Class conditions
Inherits System.Web.UI.Page
Public myDate As Date
Public strDate As String
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
myDate = Date.Now
strDate = Format(myDate, "mm/dd/yyyy")
End Sub
End Class
i am trying to format a date but i get "02/09/2009"
and i want "Feb/09/2009"
how do i do this
Thanks
Partial Class conditions
Inherits System.Web.UI.Page
Public myDate As Date
Public strDate As String
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
myDate = Date.Now
strDate = Format(myDate, "mm/dd/yyyy")
End Sub
End Class