on 03-02-2010 3:28 PM
Hi Gurus,
As a complete newbie to VC, I'm hoping someone can help me with this very basic question.
How would I extract the hours/mins from a field containing the following: u201C00:00:00u201D
I think this might work but haven't had a chance to test (systems down): TGET(@TIME,u2019Hu2019)&u2019:u2019& TGET(@TIME,u2019Mu2019)
Can anyone help?
Thanks,
Bim.
>
> Hi Gurus,
>
> As a complete newbie to VC, I'm hoping someone can help me with this very basic question.
>
> How would I extract the hours/mins from a field containing the following: u201C00:00:00u201D
>
> I think this might work but haven't had a chance to test (systems down): TGET(@TIME,u2019Hu2019)&u2019:u2019& TGET(@TIME,u2019Mu2019)
>
> Can anyone help?
>
> Thanks,
>
> Bim.
Hi
You can also try following expression -
MID(@Time,0,2)&":"&(@Time,3,2)
You will get required value in 'HH:MM' format.
Regards
Sandeep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Bim,
That should be ok, i guess. If your time is for eg "9:05:10" your formula will give you 9:05.
Hope that is what you are looking for.
Rgds
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.