Hello there, I'm Samir El Asri, a full-stack engineer from Morocco π²π¦.
π
Fullstack engineer βοΈπ¨π»βπ»
-
Tingis Web
- Morocco
- https://samirelasri.com
- in/samir-elasri
Highlights
- Pro
Block or Report
Block or report samir-elasri
Report abuse
Contact GitHub support about this userβs behavior. Learn more about reporting abuse.
Report abusePinned
-
FreelancerPlatform
FreelancerPlatform PublicASP.NET MVC App (Class Project): Managing freelancers & the projects that they're assigned.
-
class_attendance
class_attendance Publicβ’ End of the year project: Class attendance web application
PHP
-
A simple PHP function that converts ...
A simple PHP function that converts timestamps to "time ago" values 1<?php
2function timeAgo($date){
3$secs = ((new DateTime())->getTimestamp() - (new DateTime($date))->getTimestamp());
4$secIntervals = array(0, 60, 3600, 86400, 604800, 2592000, 31536000);
5$timeLabels = array("now", "seconds", "minutes", "hours", "days", "weeks", "months", "years");
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.