Posts by G.Freitas • 59 points
4 posts
-
2
votes2
answers1407
viewsA: Compare two dates and times and check if one is larger than the other typescript
The most practical way I know to convert text to date is by referencing Moment js. moment().format('YYYY-MM-DD HH:m:s'); moment("20111031", "YYYYMMDD").fromNow(); moment("20120620",…
-
-1
votes2
answers558
viewsA: Edit with Radio button in jsf
Functional example: public void setSelectedItem(ValueChangeEvent event) { FacesContext context = FacesContext.getCurrentInstance(); selectedItem =…
-
1
votes1
answer561
viewsA: Formula Excel - Apache POI
Look at this example : public static void triggerFormula(HSSFWorkbook workbook){ FormulaEvaluator evaluator = workbook.getCreationHelper().createFormulaEvaluator(); HSSFSheet sheet =…
-
0
votes2
answers154
viewsA: Accentuation problems in sql
Clarifies a doubt. Are you saving the data and in the database was saved with the sharp character broken? Or when you upload the information from the bank to the HTML, is it broken? If you want to…