{
"message": string,
"result": object | Array<object> , (optional)
"pagination": Object<string> (optional)
}
2. EXAMPLE
Get Server Time
https://run.mocky.io/v3/f42c1f54-625f-43e6-84b6-112474b8b0bb
Provis 1
https://run.mocky.io/v3/f59b8446-44cb-4289-861b-cbf16566b59b
Provis 2
https://run.mocky.io/v3/167c857a-0403-485f-bc1f-763516f71f3a
Provis 3
| <selector xmlns:android="http://schemas.android.com/apk/res/android"> | |
| <item android:state_pressed="true"> | |
| <shape> | |
| <solid | |
| android:color="#1E669B"/> | |
| <stroke | |
| android:width="2dp" | |
| android:color="#1B5E91"/> | |
| <corners | |
| android:radius="6dp"/> |
| Locale.getDefault().getLanguage() ---> en | |
| Locale.getDefault().getISO3Language() ---> eng | |
| Locale.getDefault().getCountry() ---> US | |
| Locale.getDefault().getISO3Country() ---> USA | |
| Locale.getDefault().getDisplayCountry() ---> United States | |
| Locale.getDefault().getDisplayName() ---> English (United States) | |
| Locale.getDefault().toString() ---> en_US | |
| Locale.getDefault().getDisplayLanguage()---> English | |
| Locale.getDefault().toLanguageTag() ---> en-US |
| parse str to html : | |
| #1 | |
| <div dangerouslySetInnerHTML={{__html: '<strong>strong text</strong>'}} /> | |
| #2 | |
| var parse = require('html-react-parser'); | |
| parse('<div>text</div>'); |
2020-10-22
2020-10-15
2020-10-13
| INDEX($F$2:$F$340, MATCH(A4,$G$2:$G$340,0)) | |
| $F$2:$F$340 = index data yang ingin dicari | |
| A4 = keyword (bisa di drag) | |
| $G$2:$G$340 = parameter data | |
| example file : | |
| https://github.com/IwonGunawan/simpatda_api/blob/master/_archive/Left%20Lookup.xlsx |
| <?php | |
| // 01 - 31 | |
| function daily() | |
| { | |
| $tday = "01"; | |
| $tmonth = date("m"); | |
| $tyear = date("Y"); | |
| $date_from = "01"; | |
| $date_to = date("d", strtotime('-1 second',strtotime('+1 month',strtotime($tmonth.'/'.$tday.'/'.$tyear.' 00:00:00')))); |