The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » comp.soft-sys.math.mathematica

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: small string issue
Replies: 3   Last Post: Oct 7, 2013 8:22 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Francisco Gutierrez

Posts: 102
Registered: 5/31/05
small string issue
Posted: Oct 3, 2013 12:00 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Dear group:

I am importing into Mathematica a big number of dates. For example:

unasfechas = {11/06/1998, 21/01/2010, 12/10/2001, 20/07/2009,
02/02/2002, 02/01/2004, 19/11/2001, 14/02/2010, 26/12/2009,
20/10/1996, 09/07/2006, 01/01/1997, 30/08/1998, 15/02/2006,
13/12/2009, 25/09/2002, 29/06/2009, 02/04/2010, 22/02/2001,

These dates come from Excel files, and are brought into Mathematica not as strings but as numbers. I want to transform them into strings to
be able to apply functions like DateList, etc.

In principle, this should be easy. This example, taken from the documentation, is simple and clear:
ToString[x^2, InputForm]

Which returns a workable string.

ToString[unasfechas[[1]], InputForm]


also a string but after applying an operation to what it considers the denominator.

how should I proceed

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.