View Single Post
Old 06-12-2017, 01:58 AM   #1112
red_dragon
Daywalker
red_dragon is on a distinguished road
 
Posts: 29
Karma: 52
Join Date: Jul 2008
Device: Kindle Paperwhite
Quote:
Originally Posted by Nicolas F View Post
Edit: and after having looked at it a little more, I hadn't though to use regex, but we could also simply do rt1_hour=re(time1, '\.\d*', ''); to truncate the hour... This way no rounding occurs
Using a regex to get the hour is a nice idea.
red_dragon is offline   Reply With Quote