I have the display today days using gate but no idea about to start in TypeScript
            Asked
            
        
        
            Active
            
        
            Viewed 187 times
        
    0
            
            
        - 
                    3Possible duplicate of [Day Name from Date in JS](https://stackoverflow.com/questions/24998624/day-name-from-date-in-js) – Heretic Monkey Sep 10 '19 at 18:00
- 
                    TypeScript is a superset of JavaScript. You can use almost any JavaScript within TypeScript. – Heretic Monkey Sep 10 '19 at 18:01
2 Answers
0
            
            
        As the comment pointed out, TypeScript is also JavaScript. So you can:
const now = new Date();
day = now.getDay();
// Sunday - Saturday : 0 - 6
See more: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date
 
    
    
        Libo
        
- 1
 
    