May 14, 2003 #1 wvmbark Technical User Feb 12, 2003 135 US If "=DateSerial(Year(Date()),Month(Date()),1)" returns first day's date of current month, how can I get the date of last month's first day? Thanks for the help?
If "=DateSerial(Year(Date()),Month(Date()),1)" returns first day's date of current month, how can I get the date of last month's first day? Thanks for the help?
May 14, 2003 1 #2 mpastore Programmer Mar 12, 2003 568 US ?dateadd("m",-1,date())-format(dateadd("m",-1,date()),"d"+1 Upvote 0 Downvote
May 14, 2003 1 #3 jebry Programmer Aug 6, 2001 3,006 US Hi! Try this: =DateSerial(Year(Date()),IIf(Month(Date())=1,12,Month(Date())-1),1) hth Jeff Bridgham bridgham@purdue.edu Upvote 0 Downvote
Hi! Try this: =DateSerial(Year(Date()),IIf(Month(Date())=1,12,Month(Date())-1),1) hth Jeff Bridgham bridgham@purdue.edu
May 14, 2003 #4 MichaelRed Programmer Dec 22, 1999 8,410 US MyDate = Date ? Dateserial(Year(MyDate), Month(MyDate), 0) 4/30/03 ??????????????? MichaelRed m.red@att.net Searching for employment in all the wrong places Upvote 0 Downvote
MyDate = Date ? Dateserial(Year(MyDate), Month(MyDate), 0) 4/30/03 ??????????????? MichaelRed m.red@att.net Searching for employment in all the wrong places
May 14, 2003 #5 mpastore Programmer Mar 12, 2003 568 US MichaelRed He wanted 1st day of prior month, not last Upvote 0 Downvote
May 14, 2003 #6 MichaelRed Programmer Dec 22, 1999 8,410 US ????????????? so solly so saaaad MichaelRed m.red@att.net Searching for employment in all the wrong places Upvote 0 Downvote
????????????? so solly so saaaad MichaelRed m.red@att.net Searching for employment in all the wrong places