Lines Matching full:format
14 * Format used by Google, Sqlite and others
65 * @throws ExceptionBadSyntax if the format is not supported
81 * because {@link DateTime::createFromFormat} with a format of
97 * because {@link DateTime::createFromFormat} with a format of
107 * because {@link DateTime::createFromFormat} with a format of
129 …$message = "The date string ($original) is not in a valid date format. (" . join(", ", self::VALID…
145 * because it's not the compliant IS0-8601 format
150 * This format is used by Sqlite, Google and is pretty the standard everywhere
229 return $this->getDateTime()->format(self::getFormat());
234 return $this->getDateTime()->format("Y-m-d\TH:i:s.u");
238 * Shortcut to {@link DateTime::format()}
239 * Format only in English
242 * @link https://php.net/manual/en/datetime.format.php
244 public function format($string): string function in ComboStrap\\Iso8601Date
246 return $this->getDateTime()->format($string);
263 * https://www.php.net/manual/en/intldateformatter.format.php
267 … formats: https://unicode-org.github.io/icu/userguide/format_parse/datetime/#datetime-format-syntax
272 …format ($pattern) is no more supported. Why ? Because Php has deprecated <a href=\"https://www.php…
278 * are used to format date with the locale
336 …throw new ExceptionBadSyntax("Unable to format the date with the pattern ($pattern) and locale ($l…
356 // $seconds = $diff->format('%s');