This project is to find the time elapsed from certain date and represent like Just now, 2 minutes ago and so on similar as facebook status. It takes parameter String format of DateTime. The String her [...]
This project is to find the time elapsed from certain date and represent like Just now, 2 minutes ago and so on similar as facebook status. It takes parameter String format of DateTime. The String here is just conversion of DateTime format of DateTime.now() as DateTime.now().toString(). No necessary to convert other formats of DateTime to String because it won't work for other ones.