#!/usr/bin/csh

set year=2012
set mon1=04
set day=13
set hour=21
set min=10
set sec=0.0

set secras = `acalc $sec-int($sec)`
echo $secras > b
set secras=`cut -c 3-4 b`
rm b

set mon=`date $mon1$day$hour$min$year | awk '{print $2}'`

set epoch=`date +%s -ud"$mon $day, $year $hour":"$min":"$sec"`
set epoch=$epoch"."$secras
echo $epoch

