Mr Long thank you so much! I dont know if i would still be doing IT if these videos never existed, Your such a good teacher and your content is amazing. Thank you!
@@MrLongITandCAT Thanks Sir, I really enjoyed the exam. Guess what, TimeToStr came out and Date conversion were there. You saved us yet again. This is me signing off for P1 IT 2024 It was an amazing 3 years
hello please reply, i need to do my PAT but i dont know how to test if a date is valid, do you have to take the days etc and test all of that or is there a simpler way to do it
You can use the isValidDate function and give it the numbers for the year, month and day. For Example: if isValidDate( iYear, iMonth, iDay) = False then showmessage('Wrong date') else begin //do code here end;
Mr Long thank you so much! I dont know if i would still be doing IT if these videos never existed, Your such a good teacher and your content is amazing. Thank you!
I'm glad the videos can help!
Can we do the same calculations with the time
Hey Mr Long as you may know that Grade 12's are writing tomorrow. Just a quick question, are we actually allowed to use functions from DateUtils?
Writing at 2pm and Mr Long is coming in clutch
@MrLongEducation
Thank You So Much for your amazing content
My pleasure. All the best for the exam!
@@MrLongITandCAT Thanks Sir, I really enjoyed the exam. Guess what, TimeToStr came out and Date conversion were there. You saved us yet again. This is me signing off for P1 IT 2024
It was an amazing 3 years
@@abdullah_abisola Awesome! Well done to you for putting in the hard work!
hello please reply, i need to do my PAT but i dont know how to test if a date is valid, do you have to take the days etc and test all of that or is there a simpler way to do it
You can use the isValidDate function and give it the numbers for the year, month and day.
For Example:
if isValidDate( iYear, iMonth, iDay) = False then
showmessage('Wrong date')
else
begin
//do code here
end;
Is this apart of the caps syllabus?
Yes, it is a part of the Grade 11 syllabus.
Thanks!_)