Date-time does not need a server connection. It uses the host system time. There are numerous ways to accomplish this depending upon the requirements for uniqueness. The first example uses date and time. The second example uses the JavaScript random method which creates a pseudo random number.
// form1.#pageSet[0].Page1.id_1::initialize - (FormCalc, client)
$.rawValue = Concat(Num2Date(Date(), "MMDD"), Num2Time(Time(), "HHMMSS"));
// form1.#pageSet[0].Page1.id_2::initialize - (JavaScript, client)
this.rawValue = Math.round(Math.random() * (10000000 - 1) + 1);
Steve