Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
sub stuff()
theDate = Format(Now,"mm-dd-yy") themonth = Month(theDate) theDay = Day(theDate) wkday = Format(theDay, "ddd") end sub ..... for some reason when i use the Format() function, it takes the day before. Is there an option statement that I am missing or something? The first format string returns the correct day, but the second one returns the previous day. Am i missing an option statement? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
permanent conversion of 1904 date format to 1900 date format | Excel Worksheet Functions | |||
How do I convert dd/mm/yy date format to yyddd Julian date format | Excel Worksheet Functions | |||
Convert date + time text format to date format | Excel Worksheet Functions | |||
code to convert date from TEXT format (03-02) to DATE format (200203) | Excel Programming | |||
Change a date in text format xx.xx.20xx to a recognised date format | Excel Programming |