How can I get the date of the next monday from the currentday?

How can  I get the date of the next monday from current day? Please advice.
mayooran99

Hi mayooran,
Please try the following code
DateTime nextMonday = DateTime.Today.AddDays(((int)DateTime.Today.DayOfWeek - (int)DayOfWeek.Monday) + 7);
Best regards,
Kristin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • My daughter has a new ipod touch and when synced it had all of my iphone contacts. she deleted the ones she didn't want and they were removed from my phone as well. How can I get them back if they were deleted from the cloud? I also had them on my pc

    My daughter bought a new ipod touch and when synced received the contacts from my iphone. She deleted the ones she didn't want on her ipod and now they are gone from my iphone. I have the cloud and i thought back up on itunes. I have tried to re-sync and no luck. How can I get my contacts back?

    Your problem is that she used your icloud ID to connect to icloud and thus had all your data synced to her device.  Contacts are not saved in a backup to icloud, since they are stored independently in the Contacts section of icloud.  If someone deletes them, they are gone.  If you had them on the PC would they be available in some backup you frequently make of the PC?

  • How can I get an item and it's attachments from the current list using SP's JavaScript Client Object Model on newform.aspx?

    I only recently learned/read about SharePoint's JavaScript Client Object Model. I'm reading online trying to figure this out but not having much luck.
    On newform.aspx (and dispform.aspx) I want to get the
    current list,
    the last item created, and it's attachments. I now the CAML query I need to get the last item created, but first I have to get the current list and I am not sure how to do that.
    I tried this but it returns null:
    SP.ListOperation.Selection.getSelectedList()

    Hi,
    For your issue, you can get the list name from the new form url and retrieve the list last created item :
    https://social.msdn.microsoft.com/Forums/office/en-US/b90a64f8-2255-41b0-9d91-78335dd4a4cf/get-list-name-from-list-url-through-javascript?forum=sharepointdevelopmentprevious
    http://msdn.microsoft.com/en-us/library/office/hh185007(v=office.14).aspx
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • HT1689 How can I get a refund on a purchased app from the App Store?

    I purchased an app from the App Store and did not get an email receipt.  After opening the app, I found it didn't do what I thought it was designed to do.  I can't seem to find out how to get a refund from my recent purchase.  Any help would be appreciated.

    Try the 'report a problem' link from your purchase history : log into your account on your computer's iTunes via the Store > View Account menu option and you should then see a Purchase History section with a 'see all' link to the right of it ; click on that and you should see a list of your purchases ; find that app and use the 'Report a Problem' link and fill in details about the problem (iTunes support should reply within, I think, about 24 hours).
    If the 'report a problem' link doesn't work (it's been taking some people to this site on a browser instead of showing a form in iTunes) then you can try contacting iTunes support via this page : http://www.apple.com/support/itunes/contact/- click on Contact iTunes Store Support on the right-hand side of the page.

  • How can I get my music back onto my iPhone from the the cloud

    I have a new primary PC.  My music Library is on an old dying laptop.  I have found all my music has disappeared from my phone.  Some is on the cloud, but it appears to only be the music purchased on iTunes, only about 1/3 of my collection.  Now I find all the songs on my iPhone are ONLY iTunes songs and I have to download them each time I want to play them.  Since I'm in a regional area with poor coverage, having to download my own songs every time through cellular is ridiculous! How can I copy my entire collection back onto my iPhone?  And then where's the rest of my collection?  Will I have to rip all my cd's again? If so NOT HAPPY AT ALL. Have also lost all my ringtones which were a Podcast that WAS purchased through iTunes - now gone.

    I did this last night, and copied all the music from old laptop onto new one.  But there was still a lot of stuff missing, mainly from my own CDs that I'd ripped.  Also I'm still getting the icon on my iPhone that the music is on the iCloud. This doesn't suit me because it will cost me a fortune to download each song by cellular when I'm out driving.  I need all my stuff on my iphone.  Do you know how I can get it to download everything i need apart from clicking on every album and selecting "download" from cloud one at a time?

  • TS2529 How can I restore my data on my iPhone 5 from the back-up of my 3GS?

    I tried on one computer but it said that an unknown error occurred. So, I tried restoring it from another back-up of my 3GS from another computer but it said that the iPhone refused the request.  My iTunes is up to date, so I really don't know what to do anymore.  I got my iPhone 5 a few days back as a hand-me-down since my dad got a 5s.  I really need to transfer the data from my old iPhone to the new one.  I've already spent/ wasted hours just trying to reslove this issue, but, I failed. PLEASE do help me.  Thanks

    Hi! I reset my iPhone to factory settings.  After this, I restored it from my back up bit then a new problem came up saying that it cannot be restored because the data is corrupt or not compatible.  I did the advice of people on the internet to turn off the antivirus and such but it still didn't work.

  • How can I get back all of my family videos from the iTunes monster?

    So here's the thing.
    Over the past few years I have accumulated a whole heap of home videos as well as movies, TV episodes etc. etc. which has grown and grown to the point where there was no more space on my 60GB hard drive.
    So I go out and buy an 80GB video iPod so that I can store the videos on that.
    I go through the extremely lengthy (3 days) and frustrating process of converting all my files to mp4 using Videora converter and load them onto iTunes and then onto my new iPod. I then click 'Manually manage songs' in my iPod options so that I could delete the videos from my computer, and have them still on my iPod. This was about a week ago and since then everything has been fine.
    When updating my iPod this morning, I manually ejected the ipod once my new music was added, only to find that the ipod now contained NO VIDEOS! As it turns out, the iPod automaticaaly reverted to 'automatcally manage files' without my prompt.
    So now whilst I have the files on iTunes, they cannot be found as they have been deleted and they are no longer on my iPod. Is there ANY way that I can get them back? Anything at all? System restore or something?
    Any help would be greatly appreciated.
    Dell Inspiron 8600   Windows XP  

    if you mean restore an backup from an earlier iphone then it ask you or you can manually choose restore
    if you mean apps located in your itunes library then you check the apps you want on the iphoen in the apps tab when you have it connected to computers itunes

  • How can I get my Photosmart B8550 to print envelopes from the photo tray?

    I have a Photosmart B8550 printer.  I print a LOT of envelopes for greeting cards through Stamps.com.  I would like to be able to load invitation envelopes in the photo tray so I don't have to keep switching between paper and envelopes.  I tried it and the only thing it will print is photo paper (or 4x6 card stock)

    Hi,
    Connect your printer to the network router.
    1. Wireless>Wireless Settings>Wireless Setup Wizard.
    2. Enter the router password to connect your printer.
    or
    1. Run the HP software and select the network/wireless connection method.
    After printer is successfully connected to the network, enable Web Services/ePrint.
    1. Press the ePrint button on the printer or the Web Services icon on the printer front panel.
    2. Press Yes to accept terms of web services.
    3. Press Yes to accept future updates.
    4. A page will printout showing you how to register your printer's new email address which you will use to send your ePrints to.
    Please click the blue Kudos star in the post that helped you.

  • How can I get rid of "History and Bookmarks" section from the search history drop down menu in safari 6.0.2?

    Let's just say I have saved bookmarks of things that i do NOT want my friends to see when they use my computer occasionally. I know they could go and find these bookmarks anyway in the bookmarks menu but they dont snoop around my computer. i would rather it not just pop up when they go to search for something or type in a webpage. If there is no way to customize what shows up in the drop down menu for search results then that is something apple overlooked. Not everybody wants things all in one place. Whats the point of deleting search history and website history if its just going to show the certain things you have bookmarked? Any solution to this would be appreciated. One solution i thought would work was disabling search from suggesting, but i guess that only supresses the webpages not the url/search bar. Oh and this is for safari 6.0.2 please dont give me outdated advice.
    Thanks

    Activate the Guest account for your friends and keep your account for yourself.

  • My battery died and then when i charged the phone it is asking me to connect to itunes and restore. if i restore how can i get my data back

    My iphone battery died and on charging the phone it asked me to connect to itunes and restore the phone.
    If i restore the phone how can i get my data back and how can i check when i last backed up my phone

    If you have been syncing regularly as the iphone is designed, then you can sync the data back.
    Regardless you will have to restore the iphone.

  • How can I get a date picker or wheel to show up in the form to make filling in a form with a lot of

    how can I get a date picker or wheel to show up in the form to make filling in a form with a lot of dates more easy?

    There is no built-in date picker available for forms created in Acrobat. There are some third-party solutions involving JavaScript (either a large collection of fields or a custom dialog) though. Also, text fields with date formatting will use a wheel type date picker on Android/iOS devices with Adobe Reader.

  • How can i get a copy of my ipone messages with the number, date and time stamp?

    How can I get a copy of my iphone messages with the number it was sent from and the date and time stamp?  Needed for court purposes.

    Try the computer apps PhoneView (Mac) or TouchCopy (Mac & PC):
    http://www.ecamm.com/mac/phoneview/
    http://www.wideanglesoftware.com/touchcopy/index.php
    You should probably consult your attorney to see if either of these will be acceptable.

  • My daughter and I use the same Itunes libbrary...all of her content is on my phone even though in the library is in not synced.  How can I get her data off my phone?

    None of her movies or tv shows are selected but they are on my phone.   Also all of my phone content is on her phone....how can we get rid of this?

    yes...the shared content just happened in the last couple months...any thoughts???

  • HT4199 My macbook pro and ipad does not recognize my printer on my wireless network, but my pc does. How can I get my apple products to see it on the network so I can print wirelessly?     My printer is a Brother MFC-J270W

    My macbook pro and ipad does not recognize my printer on my wireless network, but my pc does. How can I get my apple products to see it on the network so I can print wirelessly?     My printer is a Brother MFC-J270W

    try disabling email scanning for incoming mail.
    One of the last things that occurs is the mail server and Thunderbird sign off on "where we are up to" and Thunderbird stores this state information in the popstate.dat file in your profile (there is one in each POP mail account folder). If the anti virus, or you for that matter, end the conversation a few seconds early that hand off does not occur and the popstate is not stored.

  • How can i get my imac proceed to home page from restarting endlessly?  it will start then start booting then chime then bck to step one, not even hitting the start up page.... plssss help!

    how can i get my imac proceed to home page from restarting endlessly?  it will start then start booting then chime then bck to step one, not even hitting the start up page.... plssss help!

    Hi
    My Powerbook was the same. Only fix is to reinstall OSX from the install CD but be sure not to pick the Format and install clean. Once you boot with the install CD pick the preserve user data and settings.
    On My machine the reinstall looked perfect. My network, email, files and all the programmes were all there. Most apps worked fine but Adobe CS2, Virtual PC and NetBarrier all needed reinastallation as they reported a few files or registration was missing. I went for the 10.4.3 upgrade again and it worked fine.
    Good luck
    D

  • How can I get netflix on Apple TV to auto play the next episode?

    How can I get netflix on Apple TV to auto play the next episode?

    I don't have the answer to this question, and yes, I checked the "I have the same question, too" box.. But so did 30 some other people.. So, I've scoured the web and looked high and low into the Apple TV device.. HOW CAN I DO IT? My playstation 3 did it[.. My WDTV box top I've had for 2 years can do it! My Smart Vizio TV [netflix app built in to the tv] can do it! My Apple ipad can do it. My iPhone can do it.. So, can my Apple TV do this? Or Not?

Maybe you are looking for

  • Embedding graphics in a text block

    I do a lot of work that requires the use of bullet points. Many of the bullets are custom graphics. Additionally, I frequently need to use symbols not found in pi fonts that need to stay with the text. In Quark Xpress I have the ability to paste a gr

  • Need Help : Native SQL ABAP dump "DBIF_DSQL2_SQL_ERROR" on procedure "APS_ORDER_CHANGE".

    Hi All, We are facing an issue and want to check if you have seen it in past and can help us in resolving it. Any input will be greatly appreciated. Issue: While executing product heuristic on few product/location combinations in product view, we enc

  • Selling Old Versions of Photoshop On Ebay

    Hi ! Sorry if this has been asked before, but i couldn't find the answer on the Adobe Forums. Am I legally allowed to sell my old versions of Adobe Photoshop on ebay as second hand items under the terms of the Adobe Licence Agreement ? I have been us

  • Difference in between Cisco CP-PWR-CUBE- 3 and CP-PWR-CUBE adapter

    I need to buy CISCO power adapter for my CISCO IP phone 7942 phone. but I need to confirm if I buy CP-PWR-CUBE adapter it will work for my IP phone? or I need to buy only CP-PWR-CUBE 3 adapter. As input and output voltage and current for both the ada

  • How can I fix the error code (-50)?

    All the resolutions for this error code have been for downloading content from the store and for the Mac. Ive been getting this error code (-50) on my Windows 8 laptop when trying to sync my music to my ipod. It only started today after iTunes wiped