Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Date to Number conversion to allow time difference calculations #1196

Closed
DanielAsher opened this issue Sep 15, 2020 · 0 comments · Fixed by #1354
Closed

Support Date to Number conversion to allow time difference calculations #1196

DanielAsher opened this issue Sep 15, 2020 · 0 comments · Fixed by #1354
Labels
C++ enhancement Feature requests or improvements

Comments

@DanielAsher
Copy link

DanielAsher commented Sep 15, 2020

Feature Request

Support Date to Number (milliseconds since epoch) conversion to allow time difference calculations.

Description of Problem:

When start and end dates (of a process) are available in a row, I want to compute the period between these dates, so I can sort the rows by the length of period.

Currently I:

  • create a New Column
  • create mdy sessionEnd - mdy sessionStart
  • receive TypeError

- `(sessionEnd - sessionStart)` expected input column types integer/float

Potential Solutions:

date_to_milliseconds computed function.

btw - this project is AWESOME!

@sc1f sc1f added C++ enhancement Feature requests or improvements labels Sep 28, 2020
@texodus texodus linked a pull request Mar 27, 2021 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C++ enhancement Feature requests or improvements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants