On 6/22/07, Frank <lists at frankmarion.com> wrote: > quick little function to generate the necessary string .. but Date.UTC() doesn't *take* a string as an argument, it takes 6 integers, so you're really rowing upstream here ... :-) How 'bout: var now = new Date(); alert( Date.UTC( now.getFullYear(),now.getMonth(),now.getDate(),0,0,0 )); :: for simplicity's sake... HTH, -- Hassan Schroeder ------------------------ hassan.schroeder at gmail.com