node-firebird icon indicating copy to clipboard operation
node-firebird copied to clipboard

Date Format Issue

Open ericlovescode opened this issue 9 years ago • 1 comments

I have a DATE field, and when I do a SELECT on it, node-firebird returns the date in a string format:

Tue Mar 10 2015 00:00:00 GMT+1100 (EST)

I just want the returned date in a standard form like: YYYY-MM-DD.

Can someone tell me how to do this. Cheers. Eric.

ericlovescode avatar Mar 10 '15 03:03 ericlovescode

i think you get a date object not a string, isn' it ?

sdnetwork avatar Mar 21 '17 20:03 sdnetwork