By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,953 Members | 1,161 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,953 IT Pros & Developers. It's quick & easy.

how to fined a weekdayname of last day in the month

P: n/a


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
If you mean for the current month then

format(dateadd("d",-1,dateadd("m",1,dateserial(Year(date),month(date), 1))),
"dddd")
--
Terry Kreft
MVP Microsoft Access
"sonti srinath" <sr***********@hotmail.com> wrote in message
news:41**********************@news.newsgroups.ws.. .


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 13 '05 #2

P: n/a
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

How's about:

weekdayname(weekday(DateAdd("m",1,Date)-Day(Date)))

Substitute a date in the month you want for "Date."

--
MGFoster:::mgf00 <at> earthlink <decimal-point> net
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBQUD0coechKqOuFEgEQIM0QCg0VD9BZjkllJIyGgsZQl3nD oANDoAn1hQ
8uqdIvznFrvaUlJjDAPbAjAL
=etuU
-----END PGP SIGNATURE-----

sonti srinath wrote:

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


Nov 13 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.