Totes Nu n Shiz

in #introduction7 years ago

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!

nudate.PNG

/*
@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

Sort:  

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!

Happy Birthday! - You are on the Steem blockchain for 2 years!

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!

Coin Marketplace

STEEM 0.19
TRX 0.16
JST 0.032
BTC 64119.05
ETH 2765.04
USDT 1.00
SBD 2.66