I need to have this exact order using Moment.js- "Fri, Jun 26 at 13:00" Can anyone help?
Asked
Active
Viewed 151 times
0
-
1You've shown the target format. What is the source of the date? – iAmOren Jun 26 '20 at 10:59
-
1Have you gone through the documentation? [How much research effort is expected of Stack Overflow users?](https://meta.stackoverflow.com/a/261593/3082296) – adiga Jun 26 '20 at 10:59
1 Answers
0
Try ddd, MMM DD [at] HH:mm
console.log(moment().format('ddd, MMM DD [at] HH:mm'))
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.27.0/moment.min.js" integrity="sha256-ZsWP0vT+akWmvEMkNYgZrPHKU9Ke8nYBPC3dqONp1mY=" crossorigin="anonymous"></script>

User863
- 19,346
- 2
- 17
- 41