|
DateTimeInterface::getMicrosecondDateTimeImmutable::getMicrosecondDateTime::getMicrosecondGets the microsecond part of the Unix timestamp Description
public int DateTimeInterface::getMicrosecond()
public int DateTimeImmutable::getMicrosecond()
public int DateTime::getMicrosecond()
Gets the microsecond part of the Unix timestamp. ParametersThis function has no parameters. Return ValuesReturns the microsecond part of the Unix timestamp representing the date. ExamplesExample #1 DateTimeInterface::getMicrosecond example The above example will output: string(6) "789123" int(789123) See Also
|