Skip to content

Confused About Dates #1204

Open
Open

Description

@chicagocomputerclasses

I have an issue that I'm trying to figure out.

If I pass the source data as array of objects, dates being JavaScript date objects.
And then the match being also a JavaScript date object =>
Fri May 20 2016 00:00:00 GMT-0500 (GMT-05:00)

"SELECT sdate, sales, cost, state FROM ? WHERE sdate = ?" returns no results.

[{ sdate: Fri May 20 2016 00:00:00 GMT-0500 (GMT-05:00),
sales_rep: 'Julio Castillo',
region: 'Western',
state: 'CA',
brand: 'ADIDAS',
sales: 82.05,
cost: 74.31 },
{ sdate: Thu Oct 22 2015 00:00:00 GMT-0500 (GMT-05:00),
sales_rep: 'Tomas Shaw',
region: 'Western',
state: 'NV',
brand: 'ADIDAS',
sales: 99.32,
cost: 46.87 }]

You can see an example here in I9 cell
https://docs.google.com/spreadsheets/d/1jd6NMLLl7Cf5RtsgAAb_I9Deihrc07TgmJED0RH6V9M/edit?usp=sharing

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions