Date format of MM/DD

I have date fields that are all printing MM/DD/YYYY  

How can I change that to print only MM/DD
Who is Participating?
Ryan ChongConnect With a Mentor Commented:
try use a customize function:


function toMMDD(v)
   if isdate(v) then
         toMMDD = right("0" & month(v),2) & "/" & right("0" & day(v),2)
  end if
end function



response.write toMMDD(yourdateValue)
Ryan ChongCommented:
or if you date value is from database, you can format it in your Select SQL statement instead.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.