Totes Nu n Shiz
Whats the craic?
Anyone on a sesh?
Jus hopped onto this site to give it an olde whirl and see what all the waffle is all about.
My first post thingy is my reattempt at java.. enjoy!
/*
@author NuGerg @author tehwabb1t
the poxy date 14082017
*/
package testingground;
import java.text.SimpleDateFormat;
import java.util.Date;
/* A basic get the poxy date and display it properly method that took two hours to
figure out without any help. After a while i realised that i needed the SimpleDateFormat
for proper layout.
*/
public class TestingGround {
public static void main(String[] args) {
String DatePattern = "dd-MM-yyyy";
// has to be capital M for month because lowercase m give a different value
SimpleDateFormat simpleDateFormat = new SimpleDateFormat(DatePattern);
String date = simpleDateFormat.format(new Date());
System.out.println("The poxy date is "+date.);
}
}
// end of code
Hi @tehwabb1t, just seeing this post now. There are lots of people on here from Ireland. Welcome to Steemit.
Congratulations @tehwabb1t! You received a personal award!
You can view your badges on your Steem Board and compare to others on the Steem Ranking
Vote for @Steemitboard as a witness to get one more award and increased upvotes!