More correct storage format for timestamps. Fix ROOT-5331.
More correct storage format for timestamps. Fix ROOT-5331.

Solution attached as patch:
- SetTimestamp() writes timestamps of the format "2013-06-30 05:11:01.021"
  to the database and communicates the 3-digit precision (i.e., milliseconds)
  to the user in its comment. 3 digit precision is also what the strftime /
  datetime methods of sqlite use, all other digits are ignored by those methods.
- GetTimestamp() reads such timestamps, also limiting the fraction-precision
  to 3 digits and communicating that to the user from within the comment.

Patch by Oliver Freyermuth.

lgiommi/root,karies/root,davidlt/root,gbitzes/root,evgeny-boger/root,beniz/root,abhinavmoudgil95/root,agarciamontoro/root,vukasinmilosevic/root,omazapa/root,nilqed/root,mkret2/root,lgiommi/root,buuck/root,satyarth934/root,arch1tect0r/root,nilqed/root,olifre/root,sawenzel/root,mhuwiler/rootauto,bbockelm/root,simonpf/root,perovic/root,cxx-hep/root-cern,root-mirror/root,lgiommi/root,bbockelm/root,BerserkerTroll/root,mhuwiler/rootauto,veprbl/root,zzxuanyuan/root-compressor-dummy,olifre/root,lgiommi/root,CristinaCristescu/root,gganis/root,mattkretz/root,krafczyk/root,zzxuanyuan/root,sawenzel/root,alexschlueter/cern-root,vukasinmilosevic/root,mhuwiler/rootauto,gganis/root,vukasinmilosevic/root,mattkretz/root,nilqed/root,smarinac/root,BerserkerTroll/root,agarciamontoro/root,zzxuanyuan/root,Y--/root,zzxuanyuan/root-compressor-dummy,krafczyk/root,gganis/root,zzxuanyuan/root-compressor-dummy,satyarth934/root,dfunke/root,nilqed/root,CristinaCristescu/root,karies/root,buuck/root,esakellari/root,veprbl/root,buuck/root,mkret2/root,smarinac/root,davidlt/root,pspe/root,olifre/root,karies/root,davidlt/root,Y--/root,buuck/root,mhuwiler/rootauto,arch1tect0r/root,davidlt/root,zzxuanyuan/root,omazapa/root-old,karies/root,esakellari/root,sirinath/root,karies/root,smarinac/root,olifre/root,bbockelm/root,simonpf/root,Y--/root,simonpf/root,0x0all/ROOT,abhinavmoudgil95/root,veprbl/root,mhuwiler/rootauto,vukasinmilosevic/root,sbinet/cxx-root,davidlt/root,agarciamontoro/root,0x0all/ROOT,beniz/root,esakellari/root,jrtomps/root,gbitzes/root,smarinac/root,veprbl/root,davidlt/root,smarinac/root,omazapa/root,mattkretz/root,omazapa/root-old,thomaskeck/root,CristinaCristescu/root,esakellari/my_root_for_test,abhinavmoudgil95/root,dfunke/root,vukasinmilosevic/root,zzxuanyuan/root-compressor-dummy,smarinac/root,nilqed/root,omazapa/root,veprbl/root,thomaskeck/root,perovic/root,gbitzes/root,gbitzes/root,abhinavmoudgil95/root,satyarth934/root,omazapa/root,mkret2/root,davidlt/root,gganis/root,dfunke/root,agarciamontoro/root,abhinavmoudgil95/root,simonpf/root,bbockelm/root,davidlt/root,mkret2/root,georgtroska/root,alexschlueter/cern-root,omazapa/root,0x0all/ROOT,sawenzel/root,omazapa/root,omazapa/root,BerserkerTroll/root,olifre/root,mattkretz/root,mattkretz/root,zzxuanyuan/root-compressor-dummy,Y--/root,beniz/root,alexschlueter/cern-root,davidlt/root,arch1tect0r/root,zzxuanyuan/root-compressor-dummy,agarciamontoro/root,sawenzel/root,pspe/root,0x0all/ROOT,evgeny-boger/root,olifre/root,Y--/root,veprbl/root,mhuwiler/rootauto,karies/root,abhinavmoudgil95/root,esakellari/my_root_for_test,cxx-hep/root-cern,cxx-hep/root-cern,abhinavmoudgil95/root,omazapa/root,Duraznos/root,thomaskeck/root,karies/root,sirinath/root,evgeny-boger/root,Y--/root,bbockelm/root,nilqed/root,thomaskeck/root,omazapa/root-old,evgeny-boger/root,cxx-hep/root-cern,arch1tect0r/root,buuck/root,0x0all/ROOT,karies/root,zzxuanyuan/root,cxx-hep/root-cern,davidlt/root,dfunke/root,omazapa/root-old,root-mirror/root,agarciamontoro/root,lgiommi/root,smarinac/root,simonpf/root,mkret2/root,beniz/root,sirinath/root,abhinavmoudgil95/root,perovic/root,beniz/root,abhinavmoudgil95/root,pspe/root,sbinet/cxx-root,gganis/root,pspe/root,agarciamontoro/root,thomaskeck/root,evgeny-boger/root,arch1tect0r/root,Duraznos/root,esakellari/root,krafczyk/root,vukasinmilosevic/root,evgeny-boger/root,vukasinmilosevic/root,vukasinmilosevic/root,sirinath/root,evgeny-boger/root,perovic/root,krafczyk/root,cxx-hep/root-cern,jrtomps/root,jrtomps/root,perovic/root,thomaskeck/root,alexschlueter/cern-root,jrtomps/root,nilqed/root,dfunke/root,karies/root,satyarth934/root,Y--/root,zzxuanyuan/root-compressor-dummy,thomaskeck/root,arch1tect0r/root,dfunke/root,sbinet/cxx-root,Duraznos/root,arch1tect0r/root,nilqed/root,buuck/root,lgiommi/root,zzxuanyuan/root-compressor-dummy,esakellari/root,buuck/root,gbitzes/root,Y--/root,BerserkerTroll/root,mkret2/root,sawenzel/root,veprbl/root,perovic/root,cxx-hep/root-cern,alexschlueter/cern-root,evgeny-boger/root,root-mirror/root,zzxuanyuan/root-compressor-dummy,lgiommi/root,root-mirror/root,Duraznos/root,georgtroska/root,gbitzes/root,krafczyk/root,omazapa/root-old,perovic/root,smarinac/root,omazapa/root-old,jrtomps/root,sawenzel/root,zzxuanyuan/root,arch1tect0r/root,mkret2/root,beniz/root,jrtomps/root,simonpf/root,BerserkerTroll/root,esakellari/my_root_for_test,olifre/root,lgiommi/root,satyarth934/root,veprbl/root,gbitzes/root,thomaskeck/root,georgtroska/root,beniz/root,zzxuanyuan/root,krafczyk/root,vukasinmilosevic/root,satyarth934/root,mkret2/root,sbinet/cxx-root,BerserkerTroll/root,zzxuanyuan/root,mkret2/root,arch1tect0r/root,georgtroska/root,mhuwiler/rootauto,BerserkerTroll/root,krafczyk/root,georgtroska/root,esakellari/root,sirinath/root,Duraznos/root,root-mirror/root,sbinet/cxx-root,agarciamontoro/root,evgeny-boger/root,BerserkerTroll/root,mhuwiler/rootauto,Y--/root,agarciamontoro/root,buuck/root,evgeny-boger/root,pspe/root,abhinavmoudgil95/root,jrtomps/root,sbinet/cxx-root,sawenzel/root,olifre/root,perovic/root,dfunke/root,agarciamontoro/root,satyarth934/root,Y--/root,mattkretz/root,omazapa/root,sirinath/root,esakellari/my_root_for_test,sirinath/root,pspe/root,veprbl/root,buuck/root,lgiommi/root,zzxuanyuan/root,satyarth934/root,simonpf/root,jrtomps/root,sbinet/cxx-root,mattkretz/root,Y--/root,CristinaCristescu/root,gganis/root,CristinaCristescu/root,georgtroska/root,smarinac/root,esakellari/my_root_for_test,perovic/root,zzxuanyuan/root-compressor-dummy,jrtomps/root,Duraznos/root,zzxuanyuan/root,zzxuanyuan/root,smarinac/root,esakellari/my_root_for_test,buuck/root,simonpf/root,dfunke/root,omazapa/root-old,mattkretz/root,sawenzel/root,dfunke/root,root-mirror/root,jrtomps/root,BerserkerTroll/root,omazapa/root-old,georgtroska/root,omazapa/root-old,pspe/root,sirinath/root,0x0all/ROOT,dfunke/root,esakellari/root,mattkretz/root,pspe/root,root-mirror/root,omazapa/root-old,jrtomps/root,alexschlueter/cern-root,nilqed/root,georgtroska/root,bbockelm/root,sirinath/root,vukasinmilosevic/root,arch1tect0r/root,beniz/root,olifre/root,buuck/root,esakellari/root,krafczyk/root,gbitzes/root,satyarth934/root,pspe/root,CristinaCristescu/root,sawenzel/root,esakellari/my_root_for_test,georgtroska/root,nilqed/root,mkret2/root,CristinaCristescu/root,olifre/root,esakellari/my_root_for_test,karies/root,satyarth934/root,CristinaCristescu/root,zzxuanyuan/root,0x0all/ROOT,veprbl/root,sbinet/cxx-root,CristinaCristescu/root,sbinet/cxx-root,davidlt/root,gganis/root,simonpf/root,georgtroska/root,root-mirror/root,BerserkerTroll/root,mhuwiler/rootauto,satyarth934/root,pspe/root,abhinavmoudgil95/root,beniz/root,zzxuanyuan/root-compressor-dummy,perovic/root,esakellari/root,alexschlueter/cern-root,krafczyk/root,Duraznos/root,gganis/root,nilqed/root,vukasinmilosevic/root,root-mirror/root,thomaskeck/root,root-mirror/root,krafczyk/root,karies/root,gganis/root,krafczyk/root,esakellari/my_root_for_test,evgeny-boger/root,root-mirror/root,lgiommi/root,olifre/root,simonpf/root,georgtroska/root,pspe/root,veprbl/root,mhuwiler/rootauto,sawenzel/root,agarciamontoro/root,sirinath/root,omazapa/root,cxx-hep/root-cern,mkret2/root,mhuwiler/rootauto,omazapa/root,gbitzes/root,mattkretz/root,sawenzel/root,Duraznos/root,sbinet/cxx-root,Duraznos/root,gbitzes/root,zzxuanyuan/root,esakellari/my_root_for_test,Duraznos/root,thomaskeck/root,mattkretz/root,bbockelm/root,gbitzes/root,BerserkerTroll/root,gganis/root,bbockelm/root,Duraznos/root,lgiommi/root,perovic/root,bbockelm/root,0x0all/ROOT,simonpf/root,sirinath/root,0x0all/ROOT,omazapa/root-old,beniz/root,bbockelm/root,gganis/root,beniz/root,bbockelm/root,CristinaCristescu/root,arch1tect0r/root,esakellari/root,CristinaCristescu/root,esakellari/root,dfunke/root,sbinet/cxx-root