Hi

I have been using the following for 6 years to generate a unique 
transaction number.

<%
Function uniqueID()
    a = Now()
    uniqueID = Year(a)-2004 & Month(a) & Day(a) & Hour(a) & Minute(a) 
& Second(a)
End Function
%>

Until yesterday this has always given me a 10 digit number.I MUST 
have a 10 digit number.

Now I am getting 11 digits!!

Can anyone shed some light on this? If not is there a way I can 
restrict the number to 10 digits and still make it unique?

Many Thanks

Martin 
PS  ASP skills VERY basic










------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to