如何在sas中显示没有冒号的时间

时间:2016-02-19 21:07:36

标签: sas

如何显示没有冒号的时间范围?

data alltime;
do hr = '00:00:00't to '23:59:59't;
output; end; format hr time8.; run;

02:23:30 => 022330

2 个答案:

答案 0 :(得分:4)

var button = $('.button'); var div = $('.div') button.on('click', function() { if(button.html('Hello World') && div.html('Hello World')) { button.html('What\'s Up'); div.html('What\'s Up'); } else if(button.html('What\'s Up') && div.html('What\'s Up')) { button.html('Hello World'); div.html('Hello World'); } }); 格式怎么样?

B8601TM6.

结果:

data _null_;
  do hr = '00:00:00't to '23:59:59't by 65*60+23 ;
    put  hr time8. '->' hr b8601tm6. ;
  end;
run;

答案 1 :(得分:0)

它就像那样:

data alltime;
do hr = '00:00:00't to '23:59:59't;
output; end; format hr b8601tm8.; run;