Forum Replies Created

Viewing 4 posts - 1 through 5 (of 5 total)

  • RE: convert an interger to time

    thanks everyone! got it to work....

    local stringvar audit_time;

    audit_time := trim({AUDIT_TRAIL.AUDIT_TIME});

    left(audit_time,2) & ":" & mid(audit_time, 3,2) & ":" & right(audit_time, 2)

  • RE: convert an interger to time

    I'm working in crystal reports. the tables are already set up. Thanks.

  • RE: convert an interger to time

    I am really new at this and could not get it to work. this is what I entered and keep receiving error msg

    select audit_time ( audit_time(cast(audit_time as varchar),2,0,':') , 5,0,':')

  • RE: convert an interger to time

    the field to convert is called audit_time. the output format is 015136. it should be 01:51:36

Viewing 4 posts - 1 through 5 (of 5 total)