EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: date format
From: Kay-Uwe Kasemir <[email protected]>
To: Graham Waters <[email protected]>, tech talk <[email protected]>
Date: Fri, 16 Mar 2007 16:45:07 -0400

On Mar 16, 2007, at 16:29 , Graham Waters wrote:


I notice the output format for date() for R3.14 is difference from R3.13. In detail
tsStampToText() is replaced by epicsTimeToStrftime(). Is there any functionality
somewhere to return the name of the month ("Mar" rather than "03").

At least some versions of strftime support these:
%A is replaced by national representation of the full weekday name.


%a is replaced by national representation of the abbreviated weekday
name.


%B is replaced by national representation of the full month name.

%b is replaced by national representation of the abbreviated month
name.
.. and epicsTimeToStrftime just calls the underlying strftime
after removing the format character for the nanoseconds (if used).


Not sure if that's available on vxWorks, RTEMS, ....

-Kay


Replies:
Re: date format Eric Norum
Re: date format Graham Waters
References:
date format Graham Waters

Navigate by Date:
Prev: date format Graham Waters
Next: Re: Accessing Date and Time information Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: date format Graham Waters
Next: Re: date format Eric Norum
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·