Dim dtMdate As Date
dtMdate = Format(rs.Fields("Mdate"), "yyyymmdd")
Debug.print dtMdate
But when I print the above variable in my Intermeditate window I got the
values like
debug.Print dtmdate
00:00:00 instead of date value like dd/mm/yyyy
Am I using wrong way to use format mask?
Many thanks
Farhan
dtMdate = Format(rs.Fields("Mdate"), "yyyymmdd")
Debug.print dtMdate
But when I print the above variable in my Intermeditate window I got the
values like
debug.Print dtmdate
00:00:00 instead of date value like dd/mm/yyyy
Am I using wrong way to use format mask?
Many thanks
Farhan