grouper-users - [grouper-users] RE: Created_on converstion
Subject: Grouper Users - Open Discussion List
List archive
- From: Chris Hyzer <>
- To: "Omaraie, Brad" <>
- Cc: "" <>
- Subject: [grouper-users] RE: Created_on converstion
- Date: Tue, 17 Sep 2013 01:32:34 +0000
- Accept-language: en-US
I think it’s the number of millis since 1970. Why do you need to convert it? For a view to see what it is? There should be a way to do that http://stackoverflow.com/questions/14716744/mssql-convert-milliseconds-since-1970-to-datetime2 I create views in oracle that convert that column to something more user friendly… If you are setting something in those fields, you should calculate the number of millis since 1970 and put that number in there (not that you should be writing to Grouper registry tables
J ) Thanks, Chris From: Omaraie, Brad [mailto:]
Hi Chris, Quick question regarding the date conversions. I see you guys are using a decimal(19,0) for "created_on" in "grouper_change_log_entry" and "grouper_change_log_entry_temp" tables. We are using SqlServer as
our database. I'M not sure how to convert this to datetime or any other sort of timestamp type. I tried the Convert and Cast methods of SqlServer but they both threw overflow exception. How can I do this conversion with tsql commands? Thanks. Brad |
- [grouper-users] RE: Composite group with more than two groups contained, Chris Hyzer, 09/02/2013
- [grouper-users] Re: Composite group with more than two groups contained, Omaraie, Brad, 09/03/2013
- [grouper-users] RE: Composite group with more than two groups contained, Chris Hyzer, 09/03/2013
- Message not available
- [grouper-users] RE: Created_on converstion, Chris Hyzer, 09/16/2013
- Re: [grouper-users] RE: Composite group with more than two groups contained, Julio Polo, 09/20/2013
- Re: [grouper-users] RE: Composite group with more than two groups contained, Nathan Weyenberg, 09/20/2013
- Re: [grouper-users] RE: Composite group with more than two groups contained, Julio Polo, 09/23/2013
- Re: [grouper-users] RE: Composite group with more than two groups contained, Nathan Weyenberg, 09/20/2013
- Message not available
- [grouper-users] RE: Composite group with more than two groups contained, Chris Hyzer, 09/03/2013
- [grouper-users] Re: Composite group with more than two groups contained, Omaraie, Brad, 09/03/2013
Archive powered by MHonArc 2.6.16.