Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #9789
| From | "djmpark" <djmpark@comcast.net> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Question about DayOfWeek |
| Date | 2012-04-25 04:38 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <jn7v53$6fj$1@smc.vnet.net> (permalink) |
| References | <23951691.70379.1335260878344.JavaMail.root@m06> |
Use SameQ, ===, instead of Equal, ==. Mathematica takes them as variables
with undetermined values so they could be Equal.
David Park
djmpark@comcast.net
http://home.comcast.net/~djmpark/index.html
From: Kent Holing [mailto:KHO@statoil.com]
DayOfWeek[{1975,1,1}]==Wednesday gives True (as it should), but
DayOfWeek[{1975,1,1}]==Thursday gives Wednesday == Thursday and not False,
as it should? Why is it so?
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: Question about DayOfWeek "djmpark" <djmpark@comcast.net> - 2012-04-25 04:38 +0000
csiph-web