[Date Index] [Thread Index] [Author Index]
data structures for dates was ---Re: hold question
On 2/10/2014 12:00 AM, Francisco Gutierrez wrote: > .... > What I am overlooking? You've gotten a lot of answers which are just fine, but perhaps it is worth pointing out the obvious. Which is the use of the "/" or virgule as a mark to separate alternatives as "and/or" or as a line separating parts of a date, is essentially incompatible with the notation where it is used to separate parts of a fraction in Mathematica. If you allow Mathematica to treat "/" as a division, you are likely to be disappointed. I'm sure there are other places that Mathematica's adherence to some version of notation causes problems when similar or identical notation is associated with entirely different semantics. Some other representations used for dates within computer programs allow for all kinds of neat tricks, like finding the number of days between two dates by, um, subtraction. Taking a computer science course that treats subjects like data structures and their interpretation might be illuminating.