Mike:

What about using localtime() function?

$month=('jan','feb','mar','apr','may',...); #month literals
@t = localtime(); #gets time array
$t[5] += 1900;  #converts year to four digits
$vmstime = "$t[3]-$month[$t[4]]-$t[5]\s$t[2]:$t[1]:$t[0]"; #voila your
result

regards,

Juan






[EMAIL PROTECTED] escribe:
>
>
>I meant simply converting from time() to OVMS external time format, e.g.
>17-may-2000 12:34:11.45.
>
>/Mike
>


Reply via email to