Snippets Collections
mydate = input("2020-Jan-04", ANYDTDTE11.); 
  private String getFormatedDate(long time){
        simpleDateFormat = new SimpleDateFormat("dd/MM/yyyy");
        String formatedDate = simpleDateFormat.format(time);
        return formatedDate;
    }
Yii::$app->response->format = \yii\web\Response::FORMAT_JSON;
>>> 'Coordinates: {latitude}, {longitude}'.format(latitude='37.24N', longitude='-115.81W')
'Coordinates: 37.24N, -115.81W'
>>> coord = {'latitude': '37.24N', 'longitude': '-115.81W'}
>>> 'Coordinates: {latitude}, {longitude}'.format(**coord)
'Coordinates: 37.24N, -115.81W'
(df.groupby('name')['ext price']
 .agg(['mean', 'sum'])
 .style.format('${0:,.2f}'))
star

Wed Apr 27 2022 17:22:09 GMT+0000 (UTC)

#format #dates #datastep
star

Tue Apr 19 2022 08:05:37 GMT+0000 (UTC)

#xml #java #date #format
star

Thu Feb 17 2022 19:32:53 GMT+0000 (UTC) https://stackoverflow.com/questions/41675051/get-response-in-json-format-in-yii2

#php #yii2 #response #json #format
star

Mon Jun 14 2021 22:24:45 GMT+0000 (UTC) https://docs.python.org/3/library/string.html

#python #string #format
star

Sun Nov 29 2020 12:48:42 GMT+0000 (UTC) https://docs.modx.com/current/en/building-sites/tag-syntax/date-formats

#modx #date #publishedon #format
star

Mon Oct 26 2020 01:01:58 GMT+0000 (UTC) https://pbpython.com/styling-pandas.html

#python #pandas #format #currency

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension