danjoashhh
(Dan Joash)
#1
It doesn’t work. What do you think is the problem? Kindky help us. It is for a capstone project we are developing.
ImranTariq
(Imran Tariq)
#2
you cant compare date with ‘’ = ‘’. you need to convert it in millis for comparing with = or use extension for time by @krish.jha
and for date use extension by @vknow360
danjoashhh
(Dan Joash)
#3
This is so useful!!! Thank you so so much! Me and my groupmates are very grateful!
1 Like
ImranTariq
(Imran Tariq)
#4
welcome any time , we are here for help
1 Like
danjoashhh
(Dan Joash)
#5
May I ask if date and time are string types? or integers?
ImranTariq
(Imran Tariq)
#6
any type you have options for them in extensions, check them and if there any problem occurs then ask here
1 Like
danjoashhh
(Dan Joash)
#7
Im going to try this blocks. Tell me if there is something wrong
ImranTariq
(Imran Tariq)
#8
patterns are different, in first you are saving MMM d,yyyy and while copmaring you are using dd/mm/yyyy, use same for both
1 Like
danjoashhh
(Dan Joash)
#9
Ok im going to try it now.
1 Like
danjoashhh
(Dan Joash)
#10
Unparseable date; ‘’’ (at offset 0)
That’s what it gave me after i installed and launched it
danjoashhh
(Dan Joash)
#11
I get it now. I used = instead of “and” in the condition hahahaha
2 Likes
ImranTariq
(Imran Tariq)
#12
lol, try and play and use companion for test, instead of creating apk every time to test
krish.jha
(krishjha07)
#13
Btw i think it is wrong
Because when both will return false
Then also it will execute because Both will be equal
Use and condition