Dim UnixTime As Double = System.Math.Floor(DateTime.UtcNow.Subtract(New DateTime(1970, 1, 1)).TotalSeconds)
'Programming'에 해당되는 글 3건
- 2008.11.27 #VB,NET# Tip. 유닉스타임 생성 함수
- 2008.11.26 #VB,NET# Tip. 랜덤 숫자 생성 함수
- 2008.09.30 PHPFest 2008 in Seoul
Public Function RandomNumber(ByVal low As Int32, ByVal high As Int32) As Integer
Static RandomNumGen As New System.Random
Return RandomNumGen.Next(low, high+1)
End Function
Static RandomNumGen As New System.Random
Return RandomNumGen.Next(low, high+1)
End Function