A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.lispworks.com/documentation/lw71/LW/html/lw-1139.htm below:

encode-db-standard-date

Description

The functions encode-db-standard-date and encode-db-standard-timestamp interpret their argument as a DATE or TIMESTAMP and return the corresponding universal time.

date-string must be a string of length at least 10, where the first 10 characters specify a DATE, that is have the format YYYY-MM-DD.

timestamp-string must be a string of length at least 19, where the first 19 characters specify a TIMESTAMP, that is have the format YYYY-MM-DD HH:MM:SS.

encode-db-standard-date and encode-db-standard-timestamp do not actually check the separators between the numeric values, so the hyphens, space and colons can each be replaced by any character. Both functions return nil if the argument is not correct.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4