Hi,

I am trying to use this nice module: 
[https://github.com/coffeepots/odbc](https://github.com/coffeepots/odbc) and I 
ran into a problem.
    
    
    if field.kind == dtTime:
      echo field.toString # output looks like "(milliseconds: 0, seconds: 48, 
minutes: 15, hours: 7, days: 31, months: 10, years: 2017)"
    

Is there a way to get it formatted to "normal" form like "2017-10-31 
07:15:48.0" ? I can't find any way to convert "TimeInterval" type into 
formatted string. All procedures I've found work with "TimeInfo", but not with 
"TimeInterval"

Please help.

Will.

Reply via email to