Date format changed in Workunit reports

Message boards : Number crunching : Date format changed in Workunit reports
Message board moderation

To post messages, you must log in.

AuthorMessage
alan
Avatar

Send message
Joined: 18 Feb 00
Posts: 131
Credit: 401,606
RAC: 0
United Kingdom
Message 1326005 - Posted: 9 Jan 2013, 8:37:52 UTC
Last modified: 9 Jan 2013, 8:55:57 UTC

The date format used to be

22 Feb 2013 | 16:05:47 UTC

As of today it's changed to

9 Jan 2013, 8:19:19 UTC

Both are text strings, but the new one is harder to convert back into a date value - instead of simply taking the leftmost 11 characters, I now need to detect the comma. I wonder if it's possible to either introduce the leading zero or shift the comma right by one space, so I can continue to use the formula I have in Excel to extract the data value, and if so who would I ask? I know it isn't of earth-shattering importance, but it would be slightly nicer if the reporting format stayed consistent.
ID: 1326005 · Report as offensive
Profile HAL9000
Volunteer tester
Avatar

Send message
Joined: 11 Sep 99
Posts: 6534
Credit: 196,805,888
RAC: 57
United States
Message 1326060 - Posted: 9 Jan 2013, 14:14:09 UTC - in response to Message 1326005.  

The date format used to be

22 Feb 2013 | 16:05:47 UTC

As of today it's changed to

9 Jan 2013, 8:19:19 UTC

Both are text strings, but the new one is harder to convert back into a date value - instead of simply taking the leftmost 11 characters, I now need to detect the comma. I wonder if it's possible to either introduce the leading zero or shift the comma right by one space, so I can continue to use the formula I have in Excel to extract the data value, and if so who would I ask? I know it isn't of earth-shattering importance, but it would be slightly nicer if the reporting format stayed consistent.

The good thing about standards there are so many to choose.
Personally I would prefer the date time format to be YYYY-MM-DD HH:MM:SS. So they would read "2013-01-09 08:19:19".
If you are doing things in excel you could just do a replace matching "2013," to "2013 ," which would fix your formatting issues.
SETI@home classic workunits: 93,865 CPU time: 863,447 hours
Join the [url=http://tinyurl.com/8y46zvu]BP6/VP6 User Group[
ID: 1326060 · Report as offensive
Richard Haselgrove Project Donor
Volunteer tester

Send message
Joined: 4 Jul 99
Posts: 14650
Credit: 200,643,578
RAC: 874
United Kingdom
Message 1326108 - Posted: 9 Jan 2013, 17:18:28 UTC - in response to Message 1326060.  

The date format used to be

22 Feb 2013 | 16:05:47 UTC

As of today it's changed to

9 Jan 2013, 8:19:19 UTC

Both are text strings, but the new one is harder to convert back into a date value - instead of simply taking the leftmost 11 characters, I now need to detect the comma. I wonder if it's possible to either introduce the leading zero or shift the comma right by one space, so I can continue to use the formula I have in Excel to extract the data value, and if so who would I ask? I know it isn't of earth-shattering importance, but it would be slightly nicer if the reporting format stayed consistent.

The good thing about standards there are so many to choose.
Personally I would prefer the date time format to be YYYY-MM-DD HH:MM:SS. So they would read "2013-01-09 08:19:19".
If you are doing things in excel you could just do a replace matching "2013," to "2013 ," which would fix your formatting issues.

In Excel, I've been using (via a macro) 'replace with nothing' for both | and UTC: that leaves a value which Excel itself recognises as a DateTime value which can be formatted and used in calculations.
ID: 1326108 · Report as offensive

Message boards : Number crunching : Date format changed in Workunit reports


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.