Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8624361
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T07:30:43+00:00 2026-06-12T07:30:43+00:00

Using Datejs – Get the day of the week I’m also using http://www.datejs.com .

  • 0

Using Datejs – Get the day of the week

I’m also using http://www.datejs.com. And I also must be missing it. Is there a way I can have the day number of the week?

I know I can use an array equivalence, but the library is so good that I think I’m missing it, and I looked everywhere.

UPDATE:

I also know I can use the date getDay method, but I think there is a datejs alternative to correct some weird behavior of the built in date object.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T07:30:44+00:00Added an answer on June 12, 2026 at 7:30 am

    You can get the number with the standard Date methods, getDay or getUTCday:

    new Date('2012-10-03').getDay(); // 2
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using datejs (see www.datejs.com) to work out date and time for tomorrow
I'm using DateJS to parse user-inputted dates, and getting some strange results. Date.parse(15 Jan
I'm trying to get selected dates using two date and time picker (like fromdate
Currently for my blog I get a list of years/dates using the following code:
I have to get all months names in order between two dates using Ruby.
Does any one know the way to convert gregorian dates to hijri dates using
Is there some way to tell Javascript that it should never use anything but
I am following authentication method described at http://blogs.msdn.com/b/astoriateam/archive/2010/07/21/odata-and-authentication-part-6-custom-basic-authentication.aspx I am able to consume service
I'm using the excellent (but large) DateJS library to handle dates and times in
I am trying to do a little bit of math using dates in PHP.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.