MS_2
This commit is contained in:
@@ -265,21 +265,30 @@ Public Class ClassImport_Windream
|
||||
Dim type = element.Value '.ToUpper.Replace("[v%", "")
|
||||
type = type.Replace("[%v", "")
|
||||
type = type.Replace("]", "")
|
||||
|
||||
Select Case type
|
||||
Case "YY_MM_DD"
|
||||
datetemp = My.Computer.Clock.LocalTime.Year.ToString.Substring(2) & "_" & _Month & "_" & _day
|
||||
Case "YYMMDD"
|
||||
datetemp = My.Computer.Clock.LocalTime.Year.ToString.Substring(2) & _Month & _day
|
||||
Case "YY_MM"
|
||||
datetemp = My.Computer.Clock.LocalTime.Year.ToString.Substring(2) & "_" & _Month
|
||||
Case "YYYY_MM_DD"
|
||||
datetemp = My.Computer.Clock.LocalTime.Year & "_" & _Month & "_" & _day
|
||||
Case "YYYYMM"
|
||||
datetemp = My.Computer.Clock.LocalTime.Year & _Month
|
||||
Case "YYYYMMDD"
|
||||
datetemp = My.Computer.Clock.LocalTime.Year & _Month & _day
|
||||
Case "DD_MM_YY"
|
||||
datetemp = _day & "_" & _Month & "_" & My.Computer.Clock.LocalTime.Year.ToString.Substring(2)
|
||||
Case "DD_MM_YYYY"
|
||||
datetemp = _day & "_" & _Month & "_" & My.Computer.Clock.LocalTime.Year.ToString
|
||||
Case "DD.MM.YY"
|
||||
datetemp = _day & "." & _Month & "." & My.Computer.Clock.LocalTime.Year.ToString.Substring(2)
|
||||
Case "DD_MM_YYYY"
|
||||
datetemp = _day & "_" & _Month & "_" & My.Computer.Clock.LocalTime.Year
|
||||
Case "DDMMYY"
|
||||
datetemp = _day & _Month & My.Computer.Clock.LocalTime.Year.ToString.Substring(2)
|
||||
Case "DDMMYYYY"
|
||||
datetemp = _day & _Month & My.Computer.Clock.LocalTime.Year
|
||||
Case "DD.MM.YYYY"
|
||||
datetemp = _day & "." & _Month & "." & My.Computer.Clock.LocalTime.Year
|
||||
Case "YYYY_MM"
|
||||
|
||||
Reference in New Issue
Block a user