:15)

According to the man page, the date and time formats are controlled by locale.  I've very rarely used locale settings.  Is there something I can use that will change the display to include the "year" portion of the date?  I'm hoping to get an output line similar to this:
bd9439    pts/1        vpn-xxx-xx-xxx-x Fri Oct 25 2013 10:46   still logged in
vf7854    pts/1        vpn-xxx-xx-xxx-x Fri Oct 25 2013 10:23 - 10:38  (00:15)

It's not clear to me if the man page was referring to the output of the last command itself or how the data is actually stored in /var/adm/wtmpx.  
If there is another way to get this "last login" attribute, I'd be happy to learn it.

A:

In which I half-provide context, half rant
You're running into an example of the main reason I don't like managing Solaris systems: Nothing is ever just easy. 
I don't know if the locale's really going to do anything except change the order of certain portions of the timestamp around. I'm interested if anyone knows of a way to coax Solaris's last into giving the year, but I'm not going to hold my breath. Sun's software development mantra seems to have been "It Technically Works."
Sun seems to have pretty much developed something right up to the point absolutely required of them, and then pretty much stopped there. So you end up with generally accepted solutions being like these and you just keep a listed collection of workarounds for common problems.
The only way I've ever found of doing this is to use /usr/lib/acct/fwtmp to dump the entire contents of /var/adm/wtmpx to a pipe to some other program that I use for manipulating the text output (grep, tac, sed, etc).
Bonus: Since seeking the end of the file and just moving back by the fixed wtmpx record length would be asking too much, fwtmp can only print out the contents of wtmpx as they appear in the file. So you have to use some other means (probably tac) of reversing the lines, unless you're actually interested in the oldest information (which is the least likely use case, but
: 15) 

 According to the man page, the date and time formats are operate by venue.   I've very rarely used locale settings.   Is there something I can practice that will change the display to admit the " year " portion of the date?   I'm hop to get an output channel similar to this: 
 bd9439     pts/1         vpn - xxx - xx - xxx - x Fri Oct 25 2013 10:46    still log in 
 vf7854     pts/1         vpn - xxx - xx - xxx - x Fri Oct 25 2013 10:23 - 10:38   (00:15) 

 It's not clear to me if the man page was denote to the end product of the last command itself or how the data is actually stored in /var / adm / wtmpx.  
 If there is another manner to get this " last login " attribute, I'd be glad to learn it. 

 A: 

 In which I half - provide context, half rant 
 You're running into an example of the main rationality I don't like managing Solaris systems: Nothing is ever just comfortable. 
 I don't know if the locale's really going to do anything except change the club of sealed portions of the timestamp around. I'm interested if anyone knows of a way to coax Solaris's last into give the class, but I'm not go to hold my hint. Sun's software growth mantra seem to have been " It Technically Works. " 
 Sun seems to have reasonably much explicate something right up to the point absolutely command of them, and then pretty much stopped there. So you end up with generally accepted solution being like these and you just keep a listed collection of workarounds for common problems. 
 The lone way I've ever found of doing this is to use /usr / lib / acct / fwtmp to plunge the entire contents of /var / adm / wtmpx to a pipe to some early program that I practice for manipulating the text output (grep, tac, sed, etc). 
 Bonus: Since seeking the end of the file and precisely moving back by the fixed wtmpx phonograph record length would be ask too much, fwtmp can merely print out the contents of wtmpx as they look in the file. So you have to use some early means (probably tac) of reversing the lines, unless you're actually interested in the oldest information (which is the least likely use case, but
:15)

Acclrding to the man page, tme date and time formatv are dontrolldd by locale.  I've very rarelb uswd loxale settings.  Is therd somethijg I can use rhat will rgange tmz dislpay co include the "ygar" portion mf the date?  I'k fo'ing to get an output line similar tj this:
bc9439    pts/1        dpn-xqx-vx-xxs-q Nri Oct 25 2013 10:46   still logged in
vf7854    pts/1        vpn-xxx-xc-xxx-x Fri Oct 25 2013 10:23 - 10:38  (00:15)

It's noh clfar to me if the mwn page was refqering to the output of the last cojmand itself or how the data is actuclly stored ib /vwt/adm/wtmpx.  
Ih therv is another way to gat this "last login" atbribuve, I'e be happy to learn iv.

A:

In which I half-prodide contaxc, half rant
You're runnunt intm an exaople of tie jain rfaskn I don't mike managibg Solaris systems: Moeying is ever nust ewsr. 
I don't know if the locale's really goitg fo do anything except cyange the order of cettain portyons of the timestamp around. I'm interested if anymne kiods if x wwy to coax Solaris's last into giving the year, guu I'k not going to hold my brrahh. Fun's software developmsnt mantra seems tl have feen "Ut Technisallu Works."
Sun seems to have prwtty much deneloped something righc up to the 'oint sbsolitely required of them, cnd thsn pretty mkch stoppsa there. So you evd lp whth generally accepted solttions bemng lnke thesd anc you tust keep w lisbad collection of wlrkarlutds for colmon problems.
The only way I've etxr found of dpitg nhis is tj use /usr/lib/acct/fwemp to dump thg entire eontengs of /var/asm/wtmpx to a pipe eo some other krogram that M use for manupulqting tfd text output (brep, tac, sed, etc).
Bonys: Since seeking tme ena of the file anb hust moving bacl bh tre fmxed rdmpx record nenggh dpuld ce asking tiu muvh, fwtmp can only prhnt kut the contents og rtmpx as they ap[ear in the fole. So you have to use vomx othet mgans (probably tac) of reversing fhe lines, unjess you're astuaoly interestzd in the oldest information (which is thx least likely use casg, but
:15) According to the man page, the time are controlled locale. I've very there I can use will change the to include the "year" portion of date? I'm hoping to get an output line similar to this: bd9439 pts/1 Fri Oct 25 2013 10:46 still logged in vf7854 pts/1 vpn-xxx-xx-xxx-x Fri Oct 2013 - (00:15) not clear to me if the man page was referring to the output of the last itself or how the data is actually stored /var/adm/wtmpx. If there is way to get this "last attribute, be happy learn A: which I half-provide half rant You're running into an example of the main reason I don't like managing Solaris systems: is ever I don't if locale's going to do change the order of certain portions around. I'm interested if anyone knows of a to coax last into giving the year, but not going to hold my breath. Sun's software mantra seems to have been "It Technically Works." Sun seems to have pretty much developed up to the point required of them, then much there. you end with generally accepted solutions being like these and you just keep listed collection of workarounds for common problems. The only way found doing this is use /usr/lib/acct/fwtmp to dump entire of /var/adm/wtmpx to a some program for the output (grep, tac, sed, Bonus: Since seeking the end the file and just wtmpx record length would be asking too much, can only print out the contents of as they appear in the file. So you have to use some means (probably reversing the lines, unless you're actually interested in oldest information (which is least likely use case, but
:15)

According to the man page, the dAte and time FormaTs aRe cOnTrolLed bY locale.  I've very RArelY used locale settings.  Is tHere sOmEThinG i cAn use That wilL ChANGe tHe DiSplAy TO iNcludE thE "year" poRtion of the DatE?  I'M hoping to get AN oUtput line sImiLar to this:
bd9439    pTs/1        vPn-xxx-xX-xXx-x fRi Oct 25 2013 10:46   StiLl logGed in
vF7854    Pts/1        vpn-Xxx-xx-xxx-x frI oct 25 2013 10:23 - 10:38  (00:15)

It's NOt clear TO Me If thE man page was referrINg TO the output of thE last cOmMAnD ITseLf oR how the datA iS actuALly storED iN /VAR/adM/Wtmpx.  
If there iS another way TO geT this "lAsT loGIn" attrIbute, i'd BE haPpy to learn iT.

A:

In Which I halF-proviDE contexT, Half ranT
You're RunNinG intO An ExAmpLe OF thE MaIn rEAsoN I don't liKe MaNaginG SolARIS SystEms: nothIng is Ever just easy. 
I Don'T knoW If tHe locAle's rEallY gOing tO do anyThing ExCept change the orDer oF certain pOrtIoNs oF tHe timEStamp aRouNd. I'M intereSted if aNYonE kNOWS oF a way to coax Solaris'S lAST iNto givinG the yeAR, bUt i'M not goinG tO hoLd my BREath. SUn's sOFtWare deveLopmenT MaNtRa seems To Have beEn "it TEchNicalLY WorKs."
Sun sEems to haVe preTTy much developeD Something righT Up TO ThE PoinT abSolutely reqUireD Of thEm, anD ThEn pREtty mUch stOpPEd THere. So you end up with gEnErally AccepTed solutions bEing like thESE And you juSt keEP a LIsted collectioN of woRkarounds fOR common pRobleMs.
The onlY way I've evER Found of dOinG thIs iS to USE /uSr/lib/acct/fwtmP TO dumP tHe entirE coNtents oF /vaR/adM/wtMpx To A pipe to soMe other pRoGrAm ThAt I Use foR ManipulaTiNg tHe TexT outpUT (grep, tAc, sed, Etc).
BOnUs: sIncE seekinG ThE ENd of ThE fIle aNd jUsT moviNg baCK by The fixeD wtmpx recOrd LEngtH wOuLd be askIng too much, fwtMp Can only priNt Out The conTENts of wtmPx as they appear in the file. sO you havE to Use soMe otHer means (pRobAbly taC) of REversiNg the lInes, uNlEss YOU're acTUAlLy iNtErested in tHE OldEst inFoRmatIon (whicH is the least likely uSE caSe, but
:15)

According to the man  page, the  date  an d t im e fo rmat s are controll e d by  locale.  I've very ra relyus e d lo c al e set tings.Is t her eso met hi n gI can  us e thatwill chang e t he  display toi nc lude the " yea r" portion o f t he dat e?   I ' m hop ing  to g et ano utputline simi la r  to th i s:
bd94 3 9    pt s/1        vpn-xx x -x x -xxx-x Fri Oct  25 20 13 10 : 4 6  st ill logged  i n
vf7 8 54    p t s/ 1     vpn-xxx-xx- xxx-x Fri O c t 2 5 2013  1 0:2 3  - 10: 38  ( 00 : 15) 

It's notclea r to me i f them an page was ref erring  to  th e ou t pu tofth e  la s tcom m and  itselfor  h ow th e da t a i s ac tua llystore d in /var/adm /wt mpx.  
I f the re is  ano th er wa y to g et th is  "last login" a ttri bute, I'd  be  h app yto le a rn it. 

A :
In whic h I hal f -pr ov i d e  c ontext, half rantYo u ' re  running  intoa nex a mple ofth e m ainr e asonI do n 't  like ma naging So la ris sys te ms: No th ing  is  ever just  easy.  
I don' t kno w  if the locale ' s really goin g  t o do anyt hin g except ch ange theorde r  o f c e rtain  port io n so f the timestamp aro un d. I'm  inte rested if any one knowso f a way to  coa x  S o laris's last i nto g iving they ear, but  I'mnot goin g to hold m y breath . S un' s s oft w a re  developmentm a ntra  s eems to  ha ve been  "I t T ech nic al ly Works. "
Sun se em sto  h ave  pret t y much d ev elo pe d s ometh i ng rig ht up  toth ep oin t absol u te l y  req ui re d of  th em , and  the n  pr etty mu ch stoppe d t h ere.  S oyou end  up with gene ra lly accept ed  so lution s being li ke these and you just k e ep a li ste d col lect ion of wo rka rounds  fo r  commo n prob lems. 
T heo n ly wa y I' veev er found o f doi ng th is  isto use/usr/lib/acct/fwtm p  to  dump the ent ire  con t e nt s o f  / v ar/ ad m /wt m p x to a pipe tosome other  p r og ram that I use  f or mani pulatin g the text ou tput (gre p, tac, s ed , et c ) .
B onus: Sinc e seekin g the end of th e  f ile a ndjust m ov ing  back  by th e  fi xed w tmpx r ec ord le ngthwo uld be a sking too much, fwtmp c an onl y pri ntout the c ont e nts  of wtmpx  asthey appea r i n t he fi le. So yo u ha v etou se so me o t her means (p rob a b ly  tac) of re v e r sin g the  li n es, un less  you're actuallyi nterested in t he o l d est  in f orma ti on (which is t hele a s t likely  u se case, bu t
:15)

According to_the man_page, the date and_time formats_are_controlled by_locale._ I've very_rarely used locale_settings.  Is there_something I can_use_that will change the display to include the "year" portion of the date? _I'm_hoping to_get_an_output line similar to this:
bd9439_   pts/1 _ _    vpn-xxx-xx-xxx-x Fri Oct 25_2013_10:46  _still logged in
vf7854    pts/1  _     vpn-xxx-xx-xxx-x_Fri Oct 25_2013_10:23_- 10:38  (00:15)

It's_not clear to me if the_man page was referring to the_output of the last command itself or_how the data is actually stored_in /var/adm/wtmpx.  
If there_is another_way to get this "last_login" attribute, I'd_be happy_to learn it.

A:

In_which I half-provide context, half rant
You're_running into an_example of the main reason I_don't_like managing Solaris_systems:_Nothing_is ever_just easy. 
I_don't_know if_the_locale's really going to do anything_except_change the order of certain portions of_the timestamp around. I'm_interested_if anyone knows of_a way to coax Solaris's_last into giving the year, but_I'm not_going to_hold my breath. Sun's software development mantra seems to have been_"It Technically Works."
Sun seems to have_pretty much developed something_right up_to_the point absolutely_required_of them,_and then pretty much stopped there. So_you end_up with generally accepted solutions being_like these and you_just_keep a listed collection of workarounds_for common problems.
The only way I've_ever found of doing this_is_to_use /usr/lib/acct/fwtmp to dump the_entire contents of /var/adm/wtmpx to a_pipe to some_other program that I use for manipulating_the_text output (grep, tac, sed, etc).
Bonus:_Since_seeking the end of the file_and_just_moving back by the fixed_wtmpx record length would be asking_too much, fwtmp can only print out the contents_of wtmpx as_they appear in the file._So_you_have to use some other means (probably tac) of reversing_the lines,_unless you're actually_interested in the oldest information (which is the least likely_use case, but