Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: Bug with date(.,.) function?
From
Mattia Landoni <[email protected]>
To
[email protected]
Subject
st: Bug with date(.,.) function?
Date
Thu, 12 Apr 2012 01:27:55 -0400
Good morning, good people.
I was trying to plot a chart of some quantity and I discovered the following.
. dis date("01apr2011","DMY")
18718
. dis date("01apr2011","dmy")
.
So far, so good. However, when using the tsline plot, it behaves the
opposite way:
. tsline jpod if date >= date("01apr2011","dmy")
<correct graph>
. tsline jpod if date >= date("01apr2011","DMY")
<blank graph>
I am using Stata 11 64bit on Win7. Any idea of whether this is fixable?
--
Mattia Landoni
+1 217 4-A-QUANT (from US)
+39 02 3206 21676 (from Italy)
GMT -05:00 (US East)
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/