- Where Developers Learn, Share, & Build Careers
I am trying to convert this SBK statement to VB, but failed. Can anyone help? Announce the date as @ varchar as declare @factor as int (30) set @factor = (int (conversion as datetime, @date) 33 9 75) - (28 * ((as cast (diarity, date @)) (33975) / 28)
First you need to parse the string value on a You can expect to implement the operation of mathematics date time . Then, calculate the NR from 19 00-01-01 till date of that date.
dim wire = "2005-11-14" date time value = date time. Paraaxact (str, "yyyy-MM-dd", CultureInfo.Instructure Culture, Datetime Style. A) Dim BassDet = New DateTime (1900, 1, 1) Dim Inteval = (Date Value - BaseDate). Total time
Factor = intValue - 33 9 75 - (28 * (Inquiry - 33 9 75) / 28)
Comments
Post a Comment