@wider/utils_proto/proto_date

Extenders to the javascript Date object. Do not confuse this with the Data Manager object for Date.

Author:
  • Martin W Baker
License:
  • ISC Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

Methods

inner toISOString() → {string}

Originally created as a shim as older javascript implementations did not all support toISOstring.

Returns:
string -

the ISO formatted Z time zoned date string (regardless of locale) or Invalid Date

Deprecated:
  • as most javascript environments except legacy ASP classic support this