How can I apply rounding logic to time data – e.g. 1:39 PM should be 2 PM and 1:20 PM should be 1 PM.
Posted over 4 years ago by Smarten - Support
Post a topicPeople who like this
Delete Comment
This post will be deleted permanently. Are you sure?
Code Snippet
Html
Html
Css
JavaScript
Sass
Xml
Ruby
PHP
Java
C#
C++
ObjectiveC
Perl
Python
VB
SQL
Generic Language
Scenario:
We have flight data that has Flight Time upto Minute level. We also have weather data that has hourly weather parameters.
Requirement:
We need weather data for flight time with most nearer slots from weather data. For eg; if the flight time is between "1.30 - 2.30" it should come under 2'o clk slot.
0 Votes
Smarten - Support posted over 4 years ago Admin Best Answer
Please refer to the KB article below.
http://support.smarten.com/support/solutions/articles/9000190844-apply-rounding-logic-to-time-data
0 Votes
1 Comments
Smarten - Support posted over 4 years ago Admin Answer
Please refer to the KB article below.
http://support.smarten.com/support/solutions/articles/9000190844-apply-rounding-logic-to-time-data
0 Votes
Login or Sign up to post a comment