且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

是否有可能在java脚本中获取给定日期的日期名称?

更新时间:2023-01-27 16:16:32

试试这些

JavaScript getDay()方法 [ ^ ]



Javascript:如何获得星期和一年中的某一天? [ ^ ]



如何获取每周一天的数字 [ ^ ]



将Date()。getDay()转换为字符串日名称 [ ^ ]


是的。请参阅此处链接。



JavaScript getDay()方法 [ ^ ]



问候..:笑:


是的,非常简单@ prthghosh999

  var  d =  new  日期(); 
var n = d.getDay();



问...:)


is it possible to get name of day of a given date in java script???

try these
JavaScript getDay() Method[^]

Javascript: How to get the day of week and the month of the year?[^]

How to get the day of the week from the day number in Javascript[^]

Translate the Date().getDay() to a string day name[^]


Yes it is.Refer to this link.

JavaScript getDay() Method[^]

Regards..:laugh:


yes its very easy @prthghosh999
var d = new Date();
var n = d.getDay();


regards...:)