- 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 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   

You can expect to implement the operation of mathematics

  Factor = intValue - 33 9 75 - (28 * (Inquiry - 33 9 75) / 28)    

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -