Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0C2A8200C46 for ; Wed, 15 Mar 2017 07:06:18 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 0AB73160B89; Wed, 15 Mar 2017 06:06:18 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 55D5F160B7E for ; Wed, 15 Mar 2017 07:06:17 +0100 (CET) Received: (qmail 96221 invoked by uid 500); 15 Mar 2017 06:06:16 -0000 Mailing-List: contact dev-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ofbiz.apache.org Delivered-To: mailing list dev@ofbiz.apache.org Received: (qmail 96210 invoked by uid 99); 15 Mar 2017 06:06:16 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Mar 2017 06:06:16 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 86D9AC138A for ; Wed, 15 Mar 2017 06:06:15 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.78 X-Spam-Level: X-Spam-Status: No, score=0.78 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, KAM_NUMSUBJECT=0.5, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id z7Q6YTPnZMNm for ; Wed, 15 Mar 2017 06:06:13 +0000 (UTC) Received: from smtp26.services.sfr.fr (smtp26.services.sfr.fr [93.17.128.20]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 8D2C45F474 for ; Wed, 15 Mar 2017 06:06:13 +0000 (UTC) Received: from [192.168.1.2] (188.220.130.77.rev.sfr.net [77.130.220.188]) by msfrf2631.sfr.fr (SMTP Server) with ESMTP id AAF9F1C00AD41 for ; Wed, 15 Mar 2017 07:06:06 +0100 (CET) Received: from [192.168.1.2] (188.220.130.77.rev.sfr.net [77.130.220.188]) (Authenticated sender: jacques.leroux60@sfr.fr) by msfrf2631.sfr.fr (SMTP Server) with ESMTPA for ; Wed, 15 Mar 2017 07:06:05 +0100 (CET) Authentication-Results: sfr.fr; auth=pass (PLAIN) smtp.auth=jacques.leroux60@sfr.fr Subject: Re: OFBIZ-3972 To: dev@ofbiz.apache.org References: <5a197ff3-9303-b8ab-dd4a-2a3b176941cc@les7arts.com> From: Jacques Le Roux Organization: Les Arts Informatiques Message-ID: <215b1444-9e65-cab1-caaf-fe2d7d30f20b@les7arts.com> Date: Wed, 15 Mar 2017 07:06:26 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: X-sfr-mailing: LEGIT Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit archived-at: Wed, 15 Mar 2017 06:06:18 -0000 It's OK with me, I was just asking a question and it seems it has been answered Jacques Le 15/03/2017 à 05:10, Deepak Dixit a écrit : > Can we conclude this? > > Thanks & Regards > -- > Deepak Dixit > www.hotwaxsystems.com > > On Tue, Feb 28, 2017 at 2:27 PM, Rishi Solanki > wrote: > >> Interesting related blog - LINK >> > use-timestamp-or-datetime-difference-between-timestamp-or-datetime/> >> One more conversation - >> http://stackoverflow.com/questions/5989539/when-to-use- >> datetime-or-timestamp >> >> It says it depends on the context of the field for which it is used. >> DATETIME seems to be good choice as we will be updating field type, and it >> may applicable to many places. >> >> Thanks! >> >> >> Rishi Solanki >> Sr. Manager, Enterprise Software Development >> HotWax Systems Pvt. Ltd. >> Direct: +91-9893287847 >> http://www.hotwaxsystems.com >> >> On Fri, Feb 24, 2017 at 3:37 PM, Taher Alkhateeb < >> slidingfilaments@gmail.com >>> wrote: >>> I think I would prefer DATETIME. Some reasons are found here -> >>> http://stackoverflow.com/questions/409286/should-i-use- >>> field-datetime-or-timestamp. >>> Given that OFBiz takes care of conversions, DATETIME seems like a more >>> appropriate choice >>> >>> On Fri, Feb 24, 2017 at 12:13 PM, Jacques Le Roux < >>> jacques.le.roux@les7arts.com> wrote: >>> >>>> Hi, >>>> >>>> At OFBIZ-3972 Deepak suggested >>>> >>>> <>>> As we have only DATETIME set as sql type and this does not support >>>> Milliseconds, we need to use DATETIME(3) or DATETIME(6).>> >>>> >>>> I suggested >>>> >>>> <>> refman/5.6/en/datetime.html >>>> Deepak rightly mentioned that in both cases we need to create an entry >> in >>>> "data migration" wiki page >>>> >>>> << we need to run alter query manually (if someone want to upgrade >> custom >>>> solution to latest)>> >>>> >>>> Please let know your thoughts and suggestions if any >>>> >>>> Jacques >>>> >>>>