aliaga
(Ali Aga Mustofa)
January 22, 2020, 2:48am
1
Hello All,
i have some issue when reading excel file which that column formate with time it will be output like this :
excel file : sample.xlsx (8.1 KB)
Note: i want determine each that time more or less than 8:30AM and if any value more than 8:30AM i want to edit that value to 8:30AM and write again into same excell.
Thankyou
jcvsalinas
(Julius Cris Salinas)
January 22, 2020, 3:57am
2
@aliaga
on your log message/write line activity
Timevariable.ToString(“hh:mm:ss”)
AshwinS2
(Ashwin S)
January 22, 2020, 4:14am
3
Hi @aliaga
Try this timevariable.ToString(“hh:mm:as tt”)
Thanks
Ashwin.S
aliaga
(Ali Aga Mustofa)
January 22, 2020, 7:51am
4
Hello @jcvsalinas ,
am i wrong implement this code, it will output like this.
aliaga
(Ali Aga Mustofa)
January 22, 2020, 7:52am
5
AshwinS2
(Ashwin S)
January 22, 2020, 8:10am
6
Hi @aliaga
Have you tried like this
Cdate(waktu.ToString).ToString(“hh:mm:ss tt”)
Thanks
Ashwin S
aliaga
(Ali Aga Mustofa)
January 22, 2020, 8:17am
7
Hello @AshwinS2 ,
it will return error like this
AshwinS2
(Ashwin S)
January 22, 2020, 8:20am
8
Hi @aliaga
try DateTime.Parseeexact(waktu.ToString,“”,System.Globalisation.InvariantCulture.CultureInfo,“dd/MM/yyyy hh:mm:ss tt”)
Thanks
Ashwin S
aliaga
(Ali Aga Mustofa)
January 22, 2020, 10:05am
9
Solution :
Using Format Value Activity
Determine time less or more than certain time using if from integer/double value from read range
Thankyou All (@AshwinS2 , and @jcvsalinas )
system
(system)
Closed
January 25, 2020, 10:05am
10
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.