Hello StackOverFlow comunity,
I have collect hour and date for a Java/JavaFX application project, i can take abd show them in the output with:
DateTimeFormatter dtf = DateTimeFormatter.ofPattern("dd/MM/yyyy\n HH:mm");
LocalDateTime now = LocalDateTime.now();
System.out.println(dtf.format(now));
but when i want to use "name_of_my_text".setText(dtf.format(now)); to put it in my scene this doesn't work and show in the output too much JavaFX error.
Thanks for SOF comunity