Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #16548

hold question

From Francisco Gutierrez <fgutiers2002@yahoo.com>
Newsgroups comp.soft-sys.math.mathematica
Subject hold question
Date 2014-02-10 08:00 +0000
Message-ID <lda0uk$jiv$1@smc.vnet.net> (permalink)
Organization Time-Warner Telecom

Show all headers | View raw


Dear Group:

Manipulating and importing/exporting dates is always a pain in the neck, in any of the languages I am aware of. 
Mathematica has functions to work around many of these issues, and I was actually able to complete the task
I was involved in, but even then there is an issue I obviously do not understand. 

Say I have this date in an Excel sheet: 01/08/2007. I import in into Mathematica.  I want to prevent it from becoming an arithmetical expression, so
I sorround it by Unevaluated, HoldAll, and other hold-like devices, but I do not obtain the desired result. The date becomes a division. 
For example, the output of HoldComplete[2+2] is  HoldComplete[2+2] , but instead the output of HoldComplete[ 01/08/2007]
is HoldComplete[1/(8x 2007)].

What I am overlooking?
(Mathematica 9.0)

Back to comp.soft-sys.math.mathematica | Previous | NextNext in thread | Find similar


Thread

hold question Francisco Gutierrez <fgutiers2002@yahoo.com> - 2014-02-10 08:00 +0000
  data structures for dates  was ---Re: hold question Richard Fateman <fateman@cs.berkeley.edu> - 2014-02-12 10:03 +0000

csiph-web