Solved

Create unique number from datetime

Posted on 2007-04-03
3
876 Views
Last Modified: 2007-12-19
Hi, can anyone help me on this one

I want to create a unique nummer from an datetime in delphi 2006, and use this number in an invoice program.
0
Comment
Question by:marioway
  • 2
3 Comments
 
LVL 9

Accepted Solution

by:
sun4sunday earned 500 total points
ID: 18848364
If you are removing the / from the datetime with Milliseconds will give a unique number. Hope your applicaiton never comes to clash milliseconds . If possible take datatime from the server(depends on your appliciton)

yyyy/mm/dd/hh/mm/ss/ms to yyyymmddhhmmssms   will give the unique number .

sun4sunday
0
 

Author Comment

by:marioway
ID: 18848676
Hi, thank you very much sun4sunday

kind regards
Marioway
0
 
LVL 9

Expert Comment

by:sun4sunday
ID: 18880254
No probs
Cheers
Cipson
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question