I have a textbox with this mask: year/ month /day hour :min
The datetime
format is Persian
like 1392/12/11 12:43
I need to convert this string to standard English format so I used pesiancalender
class.
As you can see the function todate()
expects the values separately, I don't know how can I separate the string to this values! I mean I don't know how can I detect year and month and day and hour and min in string.