Quote:
Originally Posted by Nicolas F
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.