LED timer code

I am trying to find a code I can use with my arduino uno that will turn off a blinking LED after 15 minutes. The blink rate would be 1000ms on, then 2000ms off. I am pretty new to arduino's and really green at code. Thanks for any help you can offer.

We can help you come up with something.
Please show us what you have attempted so far.

.

Here is the mills() I found to control the LED. I just don't know how to create a 15 minute timer that will shut off the flashing LED.
Thanks for the help!

// These variables store the flash pattern
// and the current state of the LED

int ledPin = 13; // the number of the LED pin
int ledState = LOW; // ledState used to set the LED
unsigned long previousMillis = 0; // will store last time LED was updated
long OnTime = 250; // milliseconds of on-time
long OffTime = 750; // milliseconds of off-time

void setup()
{
// set the digital pin as output:
pinMode(ledPin, OUTPUT);
}

void loop()
{
// check to see if it's time to change the state of the LED
unsigned long currentMillis = millis();

if((ledState == HIGH) && (currentMillis - previousMillis >= OnTime))
{
ledState = LOW; // Turn it off
previousMillis = currentMillis; // Remember the time
digitalWrite(ledPin, ledState); // Update the actual LED
}
else if ((ledState == LOW) && (currentMillis - previousMillis >= OffTime))
{
ledState = HIGH; // turn it on
previousMillis = currentMillis; // Remember the time
digitalWrite(ledPin, ledState); // Update the actual LED
}
}

15 minutes is:
my15MinuteMillis = 15601000UL; // my15MinuteMillis must be "unsigned long"

Use this variable in a "if" function, when the time has expired, make a Boolean false which then prevents the led from toggling.

.

Thanks Larry. I'll give this a shot. This is my first attempt at writing some code myself. Thanks for the guidance!

This is my first attempt at writing some code myself.

No time like the present.

If you run into trouble, lots of people here ready to help.

.