This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| strID = System.Text.RegularExpressions.Regex.Replace(strID, "[^0-9a-zA-Z]+", "") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| dtResponse = Newtonsoft.Json.JsonConvert.DeserializeObject(Of DataTable)(strResponse) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| intWeekNumber = System.Globalization.CultureInfo.InvariantCulture.Calendar.GetWeekOfYear(Datetime.Now, System.Globalization.CalendarWeekRule.FirstFourDayWeek,DayOfWeek.Monday) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| arrDetails = strDetails.Split(Environment.NewLine.ToCharArray) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Dim CHARS As String = "123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ" | |
| Dim CHAR_NUM As Integer = CHARS.Length | |
| encoded = "" | |
| dim fid as Int64 = Convert.ToInt64(photoid) | |
| While fid >= CHAR_NUM | |
| Dim divx As Int64 | |
| Dim modx As Int64 | |
| divx = Math.DivRem(fid, CHAR_NUM, modx) | |
| encoded = CHARS(CInt(modx)) & encoded | |
| fid = divx |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| strUnixtime = Math.Round((DateTime.UtcNow - New DateTime(1970, 1, 1, 0, 0, 0)).TotalSeconds).ToString |
OlderNewer