Dec 14, 2004 #1 ChopinFan Technical User Oct 4, 2004 149 US I'm seriously confused over this. Why does this datepart syntax correctly return "11": =DatePart("m",DateAdd("m",-1,Date())) And this format syntax incorrectly return "January"??: =Format(DatePart("m",DateAdd("m",-1,Date())),"mmmm") Help?
I'm seriously confused over this. Why does this datepart syntax correctly return "11": =DatePart("m",DateAdd("m",-1,Date())) And this format syntax incorrectly return "January"??: =Format(DatePart("m",DateAdd("m",-1,Date())),"mmmm") Help?
Dec 14, 2004 #2 MichaelRed Programmer Dec 22, 1999 8,410 US RTFM? (e.g. the ubiquitous {F1}[/b[ (aks H E L P[/color0) MichaelRed Upvote 0 Downvote
Dec 14, 2004 #3 THWatson Technical User Apr 25, 2000 2,601 CA ChopinFan Is there a reason not to use just Format(DateAdd("m",-1,Date()),"mmmm") That will give you November. Tom Upvote 0 Downvote
ChopinFan Is there a reason not to use just Format(DateAdd("m",-1,Date()),"mmmm") That will give you November. Tom
Dec 14, 2004 Thread starter #4 ChopinFan Technical User Oct 4, 2004 149 US Hi Tom, I had been combining from two other fields and overlooked the obvious. Thanks! Upvote 0 Downvote