int startDate = 1;
    int startHour = 10;
    int startMin = 30;
    DateTime now = DateTime.Now;

    if (now.Day != startDate)

        return;
    while (now.Hour < startHour)
    {
        Console.WriteLine("HOUR NOT YET");
        Thread.Sleep(1000 * 60 * 5);
        now = DateTime.Now;
    }

或者行內代碼:
js console.log("Hi!");