Quote (YURIY)
Я собственно опять не вижу попыток автора решить задачу.
всмысле? и почему "опять"?Добавлено (04 Август 2009, 21:37)
---------------------------------------------
сделал, спасибо за подсказку.
Code
datebank$='1 April 2009 9:25'
datebank$=datebank$+' '
datefinal$=''
bank$=' '
ArrayItem$ = GetArrayItem(datebank$,bank$,3)
datefinal$=datefinal$+ArrayItem$
ArrayItem$ = GetArrayItem(datebank$,bank$,2)
If (ArrayItem$='January') Then
datefinal$=datefinal$+'01'
End
If (ArrayItem$='February') Then
datefinal$=datefinal$+'02'
End
If (ArrayItem$='March') Then
datefinal$=datefinal$+'03'
End
If (ArrayItem$='April') Then
datefinal$=datefinal$+'04'
End
If (ArrayItem$='May') Then
datefinal$=datefinal$+'05'
End
If (ArrayItem$='June') Then
datefinal$=datefinal$+'06'
End
If (ArrayItem$='July') Then
datefinal$=datefinal$+'07'
End
If (ArrayItem$='August') Then
datefinal$=datefinal$+'08'
End
If (ArrayItem$='September') Then
datefinal$=datefinal$+'09'
End
If (ArrayItem$='October') Then
datefinal$=datefinal$+'10'
End
If (ArrayItem$='November') Then
datefinal$=datefinal$+'11'
End
If (ArrayItem$='December') Then
datefinal$=datefinal$+'12'
End
ArrayItem$ = GetArrayItem(datebank$,bank$,1)
If (VAL(ArrayItem$)<10) Then
datefinal$=datefinal$+'0'+ArrayItem$
Else
datefinal$=datefinal$+ArrayItem$
End
time$ = GetArrayItem(datebank$,bank$,4)+':'
bank$=':'
ArrayItem$ = GetArrayItem(time$,bank$,1)
If (VAL(ArrayItem$)<10) Then
datefinal$=datefinal$+'0'+ArrayItem$
Else
datefinal$=datefinal$+ArrayItem$
End
ArrayItem$ = GetArrayItem(time$,bank$,2)
If (VAL(ArrayItem$)<10) Then
datefinal$=datefinal$+'0'+ArrayItem$
Else
datefinal$=datefinal$+ArrayItem$
End
datefinal$=datefinal$+'00'