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

Time function support difference, support conversion between string and time format #2767

Closed
kerxyfy opened this issue Aug 31, 2021 · 7 comments
Assignees
Labels
community Source: who proposed the issue type/feature req Type: feature request
Milestone

Comments

@kerxyfy
Copy link

kerxyfy commented Aug 31, 2021

Support a method: time difference,requirement precision to seconds.
Support a method: add a function of to_datetime, aim to solve String("yyyy-MM-dd HH:mm:ss")) or String("yyyyMMddHHmmss")) become a datetime

@Shylock-Hg
Copy link
Contributor

You can try datetime('yyyy-MM-dd HH:mm:ss')

@Shylock-Hg
Copy link
Contributor

For the time computation, now don't support.

@Shylock-Hg Shylock-Hg added the type/feature req Type: feature request label Aug 31, 2021
@kerxyfy
Copy link
Author

kerxyfy commented Sep 1, 2021

You can try datetime('yyyy-MM-dd HH:mm:ss')

not support 'YYYY-MM-DD HH:mm:ss', own product support 'YYYY-MM-DDThh:mm:ss'.It lead to a time difference with the local time. Is it possible in the next version?

@Shylock-Hg
Copy link
Contributor

You can try datetime('yyyy-MM-dd HH:mm:ss')

not support 'YYYY-MM-DD HH:mm:ss', own product support 'YYYY-MM-DDThh:mm:ss'.It lead to a time difference with the local time. Is it possible in the next version?

Done.

@Sophie-Xie Sophie-Xie changed the title 支持时间函数求差,支持字符串与时间格式互转 Time function support difference, support conversion between string and time format Sep 6, 2021
@Sophie-Xie Sophie-Xie added the community Source: who proposed the issue label Sep 13, 2021
@Sophie-Xie Sophie-Xie added this to the v2.6.0 milestone Sep 14, 2021
@xiajingchun
Copy link

Functions like datediff() to return the days between two dates are highly demanded by customers. Can we add at least datediff() in the coming release?

@Shylock-Hg
Copy link
Contributor

Functions like datediff() to return the days between two dates are highly demanded by customers. Can we add at least datediff() in the coming release?

Please open individual issue

@xiajingchun
Copy link

Functions like datediff() to return the days between two dates are highly demanded by customers. Can we add at least datediff() in the coming release?

Please open individual issue

https://github.com/vesoft-inc/requirement-holder/issues/38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Source: who proposed the issue type/feature req Type: feature request
Projects
None yet
Development

No branches or pull requests

4 participants