Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Question about DayOfWeek

  • To: mathgroup at smc.vnet.net
  • Subject: [mg126200] Re: Question about DayOfWeek
  • From: "Hans Michel" <hmichel at cox.net>
  • Date: Wed, 25 Apr 2012 00:31:24 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <201204240934.FAA24505@smc.vnet.net>

Try

SymbolName[DayOfWeek[{1975, 1, 1}]] == "Thursday"

Hans

-----Original Message-----
From: Kent Holing [mailto:KHO at statoil.com] 
Sent: Tuesday, April 24, 2012 4:35 AM
To: mathgroup at smc.vnet.net
Subject: [mg126200] Question about DayOfWeek

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?





  • Prev by Date: Re: Question about DayOfWeek
  • Next by Date: Re: Question about DayOfWeek
  • Previous by thread: Re: Question about DayOfWeek
  • Next by thread: Re: Question about DayOfWeek