on 04-15-2009 3:07 PM
Someone has exported a CSV file with Date Time field sent as text with 'period' separation. How can I convert from 12.10.2009 10:00:00 to a recognised date time for future date difference calculation?
Regards,
Brian.
hi,
In a formula field try out this
cdatetime(TONUMBER(MID(Fieldname,7,4)),
TONUMBER(MID(Fieldname,4,2)),
TONUMBER(MID(Fieldname,1,2)),
TONUMBER(MID(Fieldname,12,2)),
TONUMBER(MID(Fieldname,15,2)),
TONUMBER(MID(Fieldname,18,2)))
Regards
Sathish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Try the following formula :
Numbervar hh;
Numbervar mm;
Numbervar ss;
hh:=tonumber(Mid(,1,2)); mm:=tonumber(Mid(,4,2));
ss:=tonumber(Mid(,6,2));
Time(hh,mm,ss)
Thanks,
Sastry
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.