TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Vikas
NA
831
196k
Angular 7 *ngFor Calculate & Display last 3 days time
Oct 10 2019 1:06 AM
I would like to calculate and display last 3 days remaining time in a single p tag using angular 7
Here is my code
<p>You have remaining time <span *ngFor=
"let item of _objAttendancePage.Attendancelist"
>{{item.remainingTime}}</span> min to complete your working hour. Do you want to still punch
out
?|</p>
After run this code output is like this:
You have remaining time 00:25:20,00:30:25,00:40:15 Min to complete your working hour. Do you want to still punch
out
?
I expect if user logout his session before working hrs completed(last 3 days)
Employee Remaining Time List:
1st Day: 00:25:20,
2nd Dat: 00:30:25,
3rd Day: 00:40:15,
4th Day: 01:50:15 and so on
I Expect The Final Output Is: You have remaining time 96Min to complete your working hour. Do you want to still punch out ?
Reply
Answers (
3
)
Production Build
Angular 7 application is not running in IE11