![]() |
Help needed using CI4 I18n Time class. - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=11) +--- Thread: Help needed using CI4 I18n Time class. (/showthread.php?tid=79395) |
Help needed using CI4 I18n Time class. - BlackBones - 06-09-2021 Hello anyone? I want to manage date and time using I18n Time Class. I instantiated the class using "Codeigniter\I18n\Time", and I passed time values to my view file from my controller. The problem is, on loading the view file, I get the "Class 'Codeigniter\I18n\Time' not found" error. Any help anyone please? Thank you. RE: Help needed using CI4 I18n Time class. - includebeer - 06-09-2021 That's CodeIgniter with a capital "I": PHP Code: use CodeIgniter\I18n\Time; Source: http://codeigniter.com/user_guide/libraries/time.html [SOLVED] RE: Help needed using CI4 I18n Time class. - BlackBones - 06-09-2021 Thank you @includebeer... what a silly mistake. Have a good day! |