# Start Date Guard

Before that date

minting will fail

Core Candy MachineOwner: Core Candy Machine Core ProgramCore Candy GuardOwner: Core Candy Guard ProgramGuardsstartDate- Date...

Mint from

*Core Candy Guard Program*

Access Control

Mint from

*Core Candy Machine Program*

Mint Logic

Asset

[React Flow](https://reactflow.dev/)

### Guard Settings <a href="#guard-settings" id="guard-settings"></a>

The Start Date guard contains the following settings:

* **Date**: The date before which minting is not allowed.

Set up a Core Candy Machine using the Start Date Guard

JavaScript

```
import { dateTime } from "@metaplex-foundation/umi";

create(umi, {
  // ...
  guards: {
    startDate: some({ date: dateTime("2022-01-24T15:30:00.000Z") }),
  },
});
```

API References: [create](https://mpl-core-candy-machine.typedoc.metaplex.com/functions/create.html), [StartDate](https://mpl-core-candy-machine.typedoc.metaplex.com/types/StartDate.html)

### Mint Settings <a href="#mint-settings" id="mint-settings"></a>

*The Start Date guard does not need Mint Settings.*

### Route Instruction <a href="#route-instruction" id="route-instruction"></a>

*The Start Date guard does not support the route instruction.*


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://8bit-1.gitbook.io/solibrary/start-date-guard.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
