Documentation

class.nusoap_base.php

Interfaces, Classes and Traits

nusoap_base
nusoap_base

Table of Contents

timestamp_to_iso8601()  : mixed
convert unix timestamp to ISO 8601 compliant date string
iso8601_to_timestamp()  : mixed
convert ISO 8601 compliant date string to unix timestamp
usleepWindows()  : mixed
sleeps some number of microseconds

Functions

timestamp_to_iso8601()

convert unix timestamp to ISO 8601 compliant date string

timestamp_to_iso8601(int $timestamp[, bool $utc = true ]) : mixed
Parameters
$timestamp : int

Unix time stamp

$utc : bool = true

Whether the time stamp is UTC or local

Tags
access

public

Return values
mixed

ISO 8601 date string or false

iso8601_to_timestamp()

convert ISO 8601 compliant date string to unix timestamp

iso8601_to_timestamp(string $datestr) : mixed
Parameters
$datestr : string

ISO 8601 compliant date string

Tags
access

public

Return values
mixed

Unix timestamp (int) or false

usleepWindows()

sleeps some number of microseconds

usleepWindows(string $usec) : mixed
Parameters
$usec : string

the number of microseconds to sleep

Tags
access

public

deprecated
Return values
mixed

Search results