Re: Header/Footer formatting question.
- To: mathgroup at smc.vnet.net
- Subject: [mg21697] Re: Header/Footer formatting question.
- From: changpoohbear at my-deja.com
- Date: Sat, 22 Jan 2000 02:53:03 -0500 (EST)
- References: <8615sh$juk@smc.vnet.net> <8697vf$6gp@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Thanks very much! This works great! Mike :) In article <8697vf$6gp at smc.vnet.net>, paulh at wolfram.com (P.J. Hinton) wrote: > In article <8615sh$juk at smc.vnet.net>, > bt585 at freenet.carleton.ca (Michael Chang) writes: > > > I'm running Mathematica 3.0.x on Windoze NT, and would like the *current* > > date to appear as > > > > Monday January 17, 2000 (say ... this is today's date) > > > > in my (left) footer. In the past, the command given to me was > > > > Cell[ TextData[ {ValueBox[ "Date"]}], "Header"] > > > > in the File->Printing Settings->Headers and Footers menu. This used to > > work alright, and output > > > > 12/25/99 (say) > > > > for December 25, 1999. Unfortunately, now it only outputs > > > > 1/17/0 > > > > Is there a way that I can get the current date to automatically appear as > > > > Monday January 17, 2000 (say) > > > > or, at the least, > > 1/17/00 > > Try these on for size. > > This will produce: > > <Day Name>, <Month Name> <Day>, <Full Year> > > Cell[TextData[ ValueBox["DateLong"]]] > > This next example will produce: > > <Month>/<Day>/<Full Year> > > Cell[TextData[{ValueBox["Month"], "/", ValueBox["Day"], "/", > ValueBox["Year"]}]] > > -- > P.J. Hinton > Mathematica Programming Group paulh at wolfram.com > Wolfram Research, Inc. > Disclaimer: Opinions expressed herein are those of the author alone. > > Sent via Deja.com http://www.deja.com/ Before you buy.