View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Rick Rothstein Rick Rothstein is offline
external usenet poster
 
Posts: 5,934
Default Month, Day, Year and Day of the Week

What programming language is that? The Excel programming language is VBA
(Visual Basic for Applications) and, in it, the Time function does not have
properties. In the VB world, there is a Month, Day, Year, Hour, Minute and
Second function that, when passed a real date value, returns the obvious
value as per the function's name. As for a DayOfWeek function, that would be
the WeekDay function in VB.

--
Rick (MVP - Excel)


"Philosophaie" wrote in message
...
Need to know the "Time" functions are correct:

I know
Time.Hour=Hour
Time.Minute=Minute
Time.Second=Second

I need to know the correct:
Time.???=Month
Time.???=Day
Time.???=Year
Time.???=DayOfWeek