---
title: "Windows Phone 7 Reminders"  
description: "Windows Phone 7 Reminders"  
author: "Samuel Fernandes"  
published: 2015-04-07  
updated: 2015-04-07  
canonical: https://www.mindstick.com/forum/23081/windows-phone-7-reminders  
category: ".net"  
tags: ["windows phone"]  
reading_time: 1 minute  

---

# Windows Phone 7 Reminders

How strict/loose are [Microsoft](https://www.mindstick.com/articles/12301/microsoft-is-trying-to-kill-passwords) on approving [Windows](https://www.mindstick.com/articles/311752/how-to-install-and-use-the-google-wifi-software-on-a-windows-or-mac-computer) Phone apps submitted to the [marketplace](https://www.mindstick.com/articles/12472/mgs-front-end-builder-for-magento-2-best-selling-product-on-magento-marketplace)? I know there are tonnes of [stories](https://answers.mindstick.com/qa/48551/who-wrote-the-30-women-in-power-their-voices-their-stories-and-when) of [developers](https://www.mindstick.com/articles/12875/blunders-you-must-avoid-while-hiring-java-developers-to-get-the-best-fulfilling-your-needs) having their iphone apps rejected on unreasonable grounds, and I know [Google](https://www.mindstick.com/articles/43833/google-lighthouse-and-how-is-it-changing-the-way-we-development-and-design-websites) let you publish just about anything to the [Android](https://www.mindstick.com/articles/13046/10-reasons-why-i-prefer-android-vs-iphone-ios) market...how are [your experiences](https://answers.mindstick.com/qa/32765/reliving-the-history-in-modern-athens-pen-down-your-experiences-over-this) with WM [platform](https://www.mindstick.com/articles/13080/wikipedia-the-most-powerful-advertising-platform-of-the-digital-age)?

## Replies

### Reply by Anonymous User

Since the reminder needs a DateTime it's pretty easy. Each application has a max of 50 reminders:

```
DateTime dateTime = DateTime.Now; //First Friday at 10am
for (int i = 0; i < 50; i++)
{
    Reminder reminder = new Reminder("MyReminder")
    reminder.Content = "Reminder";
    reminder.BeginTime = dateTime.AddDays(i * 7);

    ScheduledActionService.Add(reminder);
}
```

-or this may work-

```
Reminder reminder = new Reminder("MyReminder")
reminder.Content = "Reminder";
reminder.BeginTime = DateTime.Now; //First Friday at 10am
reminder.Content = "Reminder";
reminder.ExpirationTime = DateTime.Now.AddDays(52 * 7);
reminder.RecurrenceType = RecurrenceInterval.Weekly;
```

## EDIT

This is how you get the next day of week

```
private DateTime GetNextDay(string dayOfWeek)
{
    for (int i = 0; i < 7; i++)
    {
        DateTime currentDateTime = DateTime.Now.AddDays(i);
        if (dayOfWeek.Equals(currentDateTime.ToString("dddd")))
            return currentDateTime;
    }

    return DateTime.Now;
}
```


---

Original Source: https://www.mindstick.com/forum/23081/windows-phone-7-reminders

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
