1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 <2007> 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 <2007> 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: date format |
From: | Graham Waters <[email protected]> |
To: | Kay-Uwe Kasemir <[email protected]> |
Cc: | tech talk <[email protected]> |
Date: | Fri, 16 Mar 2007 14:18:44 -0700 |
Thanks, it worked with vxWorks.
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