Now

https://api.blockdate.io/api/now.json

Encode

https://api.blockdate.io/api/encode.json

Parameters

q"YYYY-MM-DD HH24:MI:SS" or seconds since the UNIX epoch
tzdefaults to UTC

Decode

https://api.blockdate.io/api/decode.json

Parameters

q"BLOCK.MINUTE.SECOND"
tzdefaults to UTC

Google Sheet Encode

Here's an example of how to convert a date to a block height in google sheets.
=IMPORTDATA(CONCATENATE("https://api.blockdate.io/api/encode.json?field=block.height&q=",ENCODEURL(A1)))