you got to see this...its soooo simple...but yet,

Results 1 to 2 of 2

Thread: you got to see this...its soooo simple...but yet,

  1. #1
    Join Date
    Dec 1969
    Posts
    144

    Default you got to see this...its soooo simple...but yet,

    ok...here is what I got:<BR>code that is a timer and then passes the timer time through itime=Request.form(time).<BR>now I need to take the itime and convert it to minutes only, for example:<BR><BR>time = 10:31<BR>10=minutes<BR>31=seconds<BR><BR>I need calctime to equal this: 11 minutes<BR><BR>If the seconds are = &#062; 30 round up to minute<BR>If the seconds are &#060; 30 then drop seconds and keep minute<BR><BR>so if time = 10:29<BR>10 = minutes<BR>29 = seconds<BR><BR>I need calctime to equal this: 10 minutes<BR><BR>this may seem simple, but am having a hell of a time figuring it out....any help would be greatly appreciated!<BR>Thanks in advance,<BR>Ray

  2. #2
    hspan Guest

    Default RE: you got to see this...its soooo simple...but y

    you can use instr function to get the position of char ":", from there i believe you can get the minutes by using cint function.<BR>After that, i think you can solve your problem already. Maybe you might need to change the time to string b4 it can work. Try ur luck

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •