Commit 83824302469ae17c5f0302eec42163952b4b0d55

Authored by Myriam Bouchemit
1 parent 1277dcb7

Replace microseconds by milliseconds

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
src/InputOutput/IHMImpl/Tools/CommonClass.php
... ... @@ -108,7 +108,7 @@ class CommonClass
108 108 date_default_timezone_set('UTC');
109 109 $date = DateTime::createFromFormat('YzHisu', $DDTime);
110 110  
111   - return strtotime($date->format("Y-m-d\TH:i:s.u"));
  111 + return strtotime($date->format("Y-m-d\TH:i:s.v"));
112 112 }
113 113  
114 114 /*
... ... @@ -118,7 +118,7 @@ class CommonClass
118 118 {
119 119 $date = DateTime::createFromFormat('YzHisu', $DDTime);
120 120  
121   - return $date->format("Y-m-d\TH:i:s.u");
  121 + return $date->format("Y-m-d\TH:i:s.v");
122 122 }
123 123  
124 124 /*
... ... @@ -129,7 +129,7 @@ class CommonClass
129 129 $startStamp = self::DDTimeToTimeStamp($DDStart);
130 130 $intStamp = self::DDTimeToTimeStamp($DDInterval);
131 131  
132   - return date("Y-m-d\TH:i:s.u", $startStamp + $intStamp);
  132 + return date("Y-m-d\TH:i:s.v", $startStamp + $intStamp);
133 133 }
134 134  
135 135 public static function rrmdir($dir)
... ...